Add role to search results sort by button #10542
Labels
e2-days
Effort: < 5 days
infra.structure
Relates to the tools that create docs.flutter.dev
p2-medium
Necessary but not urgent concern. Resolve when possible.
st.triage.ltw
Indicates Lead Tech Writer has triaged
t.a11y
Relates to an accessibility concern
From https://buganizer.corp.google.com/issues/337311368
Observed Results
Navigating through the page sort by button, listen that it is announced as a text without a role button.
Expected Results
Ensure that when the user is navigating the page and selects the sort by button it should have the correct role to the user in this case is a button which needs to be announced also the state.
Sort by button collapsed/expanded
User Impact
Screen reader and Cognitive users are affected because they listen that it is a text and is a button that has options inside.
Steps to Reproduce
GAR Assessment
Flutter Docs
GAR Details
1.1. Do all non-text content and user interface components have meaningful accessible names and alternative text?
Environment Details
Machine: MAC/ChromeBook
Browser: Chrome Version 120.0.6099.272 (Official Build) (64-bit)
Screen reader: VoiceOver / ChromeVox.
Bug filling time: 15 mins.
The text was updated successfully, but these errors were encountered: