-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: improve screen reader experience by fixing redundant FAB.Group item announcements. #4196
Conversation
Hey @abdulbasithqb, thank you for your pull request 🤗. The documentation from this branch can be viewed here. |
fix: screen reader navigation in FAB.Group - IOS
iOS changes have been incorporated to improve accessibility IOS-VoiceOver.mov |
accessibilityLabel={accessibilityLabel} | ||
accessibilityRole="button" | ||
importantForAccessibility="no-hide-descendants" | ||
accessibilityElementsHidden={true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accessibilityElementsHidden={true} | |
accessibilityElementsHidden |
@@ -408,6 +412,8 @@ const FABGroup = ({ | |||
> | |||
<Text | |||
variant="titleMedium" | |||
importantForAccessibility="no-hide-descendants" | |||
accessibilityElementsHidden={true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accessibilityElementsHidden={true} | |
accessibilityElementsHidden |
@@ -429,13 +435,13 @@ const FABGroup = ({ | |||
isV3 && { transform: [{ translateY: translations[i] }] }, | |||
it.style, | |||
]} | |||
accessibilityElementsHidden={true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accessibilityElementsHidden={true} | |
accessibilityElementsHidden |
Motivation
The goal is to enhance the screen reader experience by resolving redundant item announcements in the FAB.Group.
Related Issue
Fixes #4063
Test Plan
Check FAB.Group Presence:
Android Testing (TalkBack):
iOS Testing (VoiceOver):
Remember to document any findings, changes, or considerations during the testing process. This comprehensive plan should help ensure a thorough evaluation of the accessibility improvements across different platforms and devices.
Result
accessiblity-issue.webm
IOS-VoiceOver.mov