TopBar buttons should either have their title
or text
set as an accessibilityLabel or provide an additional option for that label.
Sadly, I lack the Objective C skills to create the pull request myself. The button with icon is created here, I think another special case, like the disabled one here would be the right place to set the accessibilityLabel if either title, text or label is provided.
Improperly tabled buttons are probably the number 1 annoyance for VoiceOver users, so it would be great if RNN made it easy for developers to do right.
Navigation.mergeOptions(this.props.componentId, {
topBar: {
rightButtons: [
{
title: "Einstellungen",
icon: settingsIcon,
id: "settings"
}
]
}
});
Install the application on a real device
Enable VoiceOver and navigate to the TopBar button.
"Button" and nothing else will be read out
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
The issue has been closed for inactivity.
@karlsander did you ever find a fix for this?
@karlsander Hi, did you ever find a fix for this?
No, my app is no longer using topbar buttons. Is this still a problem im the current version?
Any chance anyone has a workaround for this? This still seems to be a problem in the current version & is causing accessibility issues for us in my team
You can add accessibilityLabel
to the top bar buttons.
Most helpful comment
You can add
accessibilityLabel
to the top bar buttons.