carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.87k stars 1.82k forks source link

[Pagination]: improve order of select labeling for screen readers #16538

Open laurenmrice opened 6 months ago

laurenmrice commented 6 months ago

Acceptance criteria

From Michael Gower as part of omnibus website doc issue #3238

Pagination a11y issues

Labeling

image

image

image

Other dev improvements to consider There are more holistic changes that could be made, but this would be a pretty easy one to do.

<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>

github-actions[bot] commented 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.