Add alt text support for ~v1.0.2 version#1097
Open
huandzh wants to merge 5 commits intoscanny:masterfrom
Open
Conversation
Add read/write alt_text property to BaseShape for accessibility support. Includes implementation, documentation, and tests for the new property. Signed-off-by: Huan Di <huandzh@gmail.com>
Add deleter for alt_text property to allow complete removal of alternative text from shapes. Update getter to return None instead of empty string when no alt text is present. Add BDD tests for alt_text get/set/delete operations. Signed-off-by: Huan Di <huandzh@gmail.com>
Add test cases to verify proper deletion of alt text attribute from various shape types including Shape, BaseShape, GraphicFrame, and Picture. Includes fixture with multiple test scenarios. Signed-off-by: Huan Di <huandzh@gmail.com>
Merged Changes: Implement alternative text property for shapes to support screen readers. Includes getter, setter, and deleter methods, along with documentation and comprehensive tests.
…uced when merging master. Signed-off-by: huandzh <huandzh@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR provides alternative text support with test coverage, and unlike previous PR #512, it only provides a high-level property.
There was a previous unmerged PR for older versions. See also: #508 PR #512