fix(material/paginator): visual order does not match reading order #28045
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.
OBSERVED RESULTS:
The reading order of the pagination controls does not match the visual order which can be disorienting to visual users who do use screen readers or keyboard only to navigate the page.
Screenshot/screencast: https://screenshot.googleplex.com/Bd6psV6wJZ4sgji.png
User provided screenshot
EXPECTED RESULTS:
If possible, try to match the reading/focus order of elements with the visual order. Typically it is left to right, top to bottom.
STEPS TO REPRODUCE:
Enable screen reader
Navigate to https://xap-gallery.corp.google.com/embed/a11y/mdc-paginator
Navigate to the pagination controls
Observe
RELEVANT GAR SHEET
RELEVANT GAR GUIDELINE
ENVIRONMENT DETAILS:
Google Pixel 5
Android version 13
Talkback
Canary 116.0.5813.0
iPhone 12
iOS 16.4.1
VoiceOver
Dev 116.0.5805.1
Bug filing time:
10min