Open rylew1 opened 2 months ago
ReactUSWDS Version & USWDS Version:
Describe the bug
To Reproduce Steps to reproduce the behavior:
Add a Pagination component
Run LIghthouse with a11y checked:
Observe a11y issue flagged by Lighthouse:
Expected behavior
No a11y issues reported
Additional context
It looks like dependabot updated things from uswds here: https://github.com/trussworks/react-uswds/pull/2556 If you look at the release notes you'll see the Pagination issue looks like it was fixed:
But the dependabot update didn't replace the role attribute in the Pagination component.
We need to replace the role attribute with this: aria-label="ellipsis indicating non-visible pages"
role
aria-label="ellipsis indicating non-visible pages"
Device and Browser Information (please complete the following information if describing a UI bug):
ReactUSWDS Version & USWDS Version:
Describe the bug
To Reproduce Steps to reproduce the behavior:
Add a Pagination component
Run LIghthouse with a11y checked:
Observe a11y issue flagged by Lighthouse:
Expected behavior
No a11y issues reported
Additional context
It looks like dependabot updated things from uswds here: https://github.com/trussworks/react-uswds/pull/2556 If you look at the release notes you'll see the Pagination issue looks like it was fixed:
But the dependabot update didn't replace the role attribute in the Pagination component.
We need to replace the
role
attribute with this:aria-label="ellipsis indicating non-visible pages"
Device and Browser Information (please complete the following information if describing a UI bug):