Skip to content

Conversation

@amreladawy
Copy link
Owner

aria-selected is a wrong attribute for button. The correct attribute is aria-checked. Also, added role radio to reflect the correct role of this pagination.
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-selected
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-checked

Previous Behavior

The pagination buttons have the wrong aria attribute and fail a11y test tool by Microsoft.

New Behavior

The buttons have the correct aria-checked and correct role

Related Issue(s)

  • Fixes #

aria-selected is a wrong attribute for button. The correct attribute is aria-checked. 
Also, added role radio to reflect the correct role of this pagination.
@amreladawy amreladawy merged commit 6e4c69f into master Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants