Be aware that manual testing is still needed for a11y. For example, in your code button has role, but doesn't have tabIndex, which means that users which don't use mouse can't focus the button and trigger an action
role
tabIndex
You're absolutely right 👍 This is no replacement for proper a11y testing but will uncover some issues.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Be aware that manual testing is still needed for a11y. For example, in your code button has
role
, but doesn't havetabIndex
, which means that users which don't use mouse can't focus the button and trigger an actionYou're absolutely right 👍 This is no replacement for proper a11y testing but will uncover some issues.