Closed tajakobsen closed 9 months ago
It is recommended to name landmarks on the page, so that screen reader-users easily can get an overview.
I suggest adding a [aria-label] to the <nav> element in Pagination to achieve this, so that we would get something like this:
[aria-label]
<nav>
<nav aria-label="Paginering"> ... </nav>
I leave it up to the team if the text should be configurable or not, and what the text should be.
I can see that rest can be used to set this [aria-label], but it should probably be set by default so it's not forgotten.
rest
No response
Example here: https://www.uutilsynet.no/tilsynsrapportar/rapportar-fra-tilsyn/1167?f%5B0%5D=gt%3A9
Description of the bug
It is recommended to name landmarks on the page, so that screen reader-users easily can get an overview.
I suggest adding a
[aria-label]
to the<nav>
element in Pagination to achieve this, so that we would get something like this:I leave it up to the team if the text should be configurable or not, and what the text should be.
I can see that
rest
can be used to set this[aria-label]
, but it should probably be set by default so it's not forgotten.Steps To Reproduce
<nav>
.Additional Information
No response