-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[material-ui][Pagination] Use correct aria-current
value
#44753
Conversation
Signed-off-by: Jack Laurence <[email protected]>
aria-current
value
@jacklaurencegaray Thanks for working on this ~ you'd need to update the tests here to pass the CI checks! |
Done. |
Netlify deploy previewhttps://deploy-preview-44753--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
Just pinging @aarongarciah to see if you would see this as a breaking change, it changes the SR announcement |
aria-current
valuearia-current
value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mj12albert looks good!
The current pagination mechanism in the docs reads the current page in the screen reader as "current item". By using
aria-current="page"
instead ofaria-current="true"
, the screen reader reads it more clearly as "current page".This is correct property described in the pagination w3c spec.