Open laurenmrice opened 6 months ago
Thank you for submitting a feature request. Your proposal is open and will soon be triaged by the Carbon team.
If your proposal is accepted and the Carbon team has bandwidth they will take on the issue, or else request you or other volunteers from the community to work on this issue.
Acceptance criteria
From Michael Gower as part of omnibus website doc issue #3238
Pagination a11y issues
Labeling
Other dev improvements to consider There are more holistic changes that could be made, but this would be a pretty easy one to do.
aria-describedby
is more elegant and also better supports internationalization.<label for="cds-pagination-select-id-5-right" class="cds--label cdes--visually hidden">Page number, of 6 pages</label>
<span class"cds--pagination__text">of 6 pages</span>
The speech output with Jaws is much smoother, IMO.
I've made a small recording of current and improved screen reader behavior. If combined with the above suggestion on labeling changes, this would result in real improvement.
The chunk of text after the first input ("1 to 10 of 103 items" in the image above) should be tested as a live region. The advantages of this: when a user incremented the prior or next pages, or when a user changed the number of records shown OR potentially when the filtering was altered, this would be announced by the screen reader. Could be VERY useful.