gluestack-ui
gluestack-ui copied to clipboard
fix: Remove aria-selected from text inputs on web
Aria-selected is not valid on input for web
The aria-selected attribute indicates the current "selected" state for gridcell, option, row and tab roles. ... For other roles, the currently selected state is set with aria-current, or possibly aria-checked or aria-pressed, depending on the role.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected
Screenshot from storybook in my repo with A11y accessibility warnings setup: