Accessibility improvements to the query pagination block#39536
Conversation
e1b6c8d to
2d4203c
Compare
Screen readers tend to announce the element role by default, and here |
Thanks for pointing that out @chthonic-ds. I have just renamed the |
|
Should this also be changed in the |
I think that would make sense @aristath. I've applied that change, and it seems to be working. Although I don't know if this has other implications. |
|
Size Change: +4.32 kB (0%) Total Size: 1.21 MB
ℹ️ View Unchanged
|
aristath
left a comment
There was a problem hiding this comment.
LGTM! 👍 Small, but meaningful improvement.
Once tests pass I think this can be merged.
Fixes #39535.
What?
This PR adds some accessibility improvements to the query pagination block.
Why?
See https://www.a11ymatters.com/pattern/pagination/
How?
<div>wrapper and adds the block attributes to a<nav>elementaria-label"Pagination" to thenavTesting Instructions
navelement with thearia-label"Pagination Navigation"navelement should contain the block classes previously in thedivwrapperScreenshots or screencast
Before
After