-
Notifications
You must be signed in to change notification settings - Fork 125
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
A role specifically for pagination #1669
Comments
There's a related WICG discourse thread: https://discourse.wicg.io/t/nav-type-attribute-proposal/2241. |
Closing at this time. Please follow up on the WICG thread referenced above and reopen once there is consensus. |
I won't. The WICG thread has been inactive for over 4 years and is/was a significantly broader proposal than mine here. I have no interest in getting involved with it. No offense. |
@prlbr totally understand but adding a new role is a considerable ask. The consensus in the linked thread seemed to be moving towards this being an attribute of a nav rather than its own role. I'd be much more open to this - we are already fighting role overload and don't want to add even more without considerable benefit. Another approach could be making the dpub doc-pagelist role more widely supported by AT - this would seem to be exactly the concept you are needing https://www.w3.org/TR/dpub-aria-1.0/#doc-pagelist |
While preparing a pagination feature for the search results of my search module I discovered that accessibility guides consistently recommend or demand wrapping the links/buttons in a HTML
<nav>
element witharia-label="pagination"
.However, my search module can be used on websites in arbitrary human languages. This means that I or a community effort would have to translate
aria-label="pagination"
for numerous languages. Any other developer will have to do the same. And honestly I didn't even know how to translate “pagination” into my own mother tongue before looking that up.Since pagination is such a typical feature of websites I propose introducing a
pagination
role, which screen readers could announce in whatever language their user desires. This would be in analogy to the rolessearch
andsearchbox
which I already use in my search module.The text was updated successfully, but these errors were encountered: