Skip to content
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

[@mantine/core] Pagination: a11y improvements #1432

Merged
merged 16 commits into from
May 10, 2022
Merged

Conversation

wes337
Copy link
Contributor

@wes337 wes337 commented May 10, 2022

The current active page will have the attribute aria-current="page". (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current#example)

The component itself will have the attribute role="navigation" (https://w3c.github.io/aria-practices/#general-principles-of-landmark-design).

image

Resolves #1414

@rtivital rtivital merged commit 0285b7e into mantinedev:master May 10, 2022
@rtivital
Copy link
Member

Thanks!

@wes337 wes337 deleted the MN1414 branch May 10, 2022 19:29
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.

Improve Pagination accessibility
2 participants