Revise accessibility actions and label field description#5035
Revise accessibility actions and label field description#5035aryanchoudharypro wants to merge 2 commits intofacebook:mainfrom
Conversation
Updated accessibility actions for iOS and Android to reflect changes in TalkBack versions and improved clarity on the 'label' field usage.
|
Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
✅ Deploy Preview for react-native ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
PR Description
Summary
This PR modernizes the
accessibilityActionsdocumentation by correcting outdated Android TalkBack interaction patterns and clarifying the functionality of thelabelfield for standard actions.The Problem
incrementanddecrementactions. This behavior was replaced by the "Adjust Reading Control" vertical swipe gestures in TalkBack 9.1 (released in early 2021). The legacy behavior is nearly five years out of date.labelDocumentation: The docs previously claimed thelabelfield for standard actions is "generally unused." This is incorrect; TalkBack uses this field to override the default "Double tap to activate" hint with a custom, context-specific description (e.g., "Double tap to open chat").The Fix
increment/decrement: Reflected the shift from hardware volume keys to vertical swipe gestures for TalkBack 9.1 and later, while maintaining the historical context for older versions.labelUsage: Revised the description to explain how thelabelfield is utilized by assistive technologies to provide specific action results to the user, particularly in overriding the default activation hint.