Repository navigation
fix(nav): give the Scan tab its own accessibility label and test ID - #724
Merged
Merged
Conversation
The Scan tab reused LL.MapScreen.title() for tabBarAccessibilityLabel and tabBarTestID, so screen readers announced "Map" for the Scan tab and two tabs shared one test identifier. Use the Scan screen's own localized title, matching how the Home and Map tabs are labelled. Co-Authored-By: Claude Fable 5.1 <[email protected]>
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.
Why
app/navigation/root-navigator.tsxset bothtabBarAccessibilityLabelandtabBarTestIDon the Scan tab toLL.MapScreen.title(), so VoiceOver and TalkBack announce "Map" for the Scan tab and the two tabs share a test identifier.What
Use
LL.ScanningQRCodeScreen.title()("Scan QR") for both, which is the same convention the Home and Map tabs already follow (localized title as label and test ID). No other behaviour changes.Validation
yarn check-codegreen.yarn test: 95 suites passed in the full run;send-confirmation.spec.tsxtimed out under CPU contention from parallel jobs and passes when rerun alone, so all 96 suites pass at this commit.grepovere2e/and__tests__/).Buzz issue:
784c0ec8b0cb467033a49841358a25db9433a96e340bdb393ec0cea0e16a88a3🤖 Generated with Claude Code