gluestack-ui icon indicating copy to clipboard operation
gluestack-ui copied to clipboard

fix: Remove aria-selected from text inputs on web

Open Mookiies opened this issue 1 year ago • 0 comments

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: image

Mookiies avatar Apr 23 '24 20:04 Mookiies