Android: Fixes #14548: Accessibility: Fix tab ordering in the note viewer screen#15166
Merged
laurent22 merged 5 commits intolaurent22:devfrom Apr 21, 2026
Merged
Conversation
Note: Needs testing on iOS, web, and with RTL layout enabled.
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.
Problem
Pressing tab with focus on the note title did not move focus to the note body. Instead, focus cycled through other focusable buttons in the app. This is a regression from the v3.5 release.
Note: #14548 affects external keyboard focus, but does not seem to affect screen reader focus.
Solution
This pull request implements a workaround: The note title input row is marked as
focusable. This fixes the focus order issue reported in #14548, but makes the title container focusable, adding a newViewto the focus order.Fixes #14548.
Note
This change is currently only applied on Android: At least in an iOS simulator, the tab key inserts a tab character, rather than moves focus. Since I'm unsure whether #14548 affects hardware iOS devices and the workaround adds an extra view to the focus order, the change is currently Android-specific
Testing
Web (regression testing)
Tab focus continues to visit the note title and completion checkbox:
web-tab-focus.mov
iOS (regression testing)
With VoiceOver enabled, focus can visit the note title and completion checkbox.
Edit: Removed iOS screen recording: The VoiceOver focus indicator and output were not captured by the recording.
Android
Moving focus from the title input to the note body, then to the checkbox input:
android-notalkback.mov
Moving TalkBack focus from the title input to the note body, then back to the title input:
android-talkback.mov