You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SegmentedButtons: each segment sets aria-checked on role button #5181
Each segment renders role="button" with aria-checked (SegmentedButtonItem.tsx). On the web aria-checked is not allowed on role button, so the checked state is not announced, and axe-core reports aria-allowed-attr (critical): "ARIA attribute is not allowed: aria-checked".
Expected behaviour
Each segment keeps aria-checked and takes a role that supports it: radio for single select (with the row as a radiogroup) and checkbox with multiSelect. axe reports no aria-allowed-attr violation.
How to reproduce?
Run the example app on the web from main (yarn install, then npx expo start --web in example/).
Open the Segmented Buttons example (/segmented-button).
Activity