Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aria-labels for navigation landmarks contain redundant descriptions #47

Open
wilsond-gds opened this issue Aug 2, 2024 · 0 comments
Open

Comments

@wilsond-gds
Copy link

This issue was initially described by Anika Henke.

When the example header’s <nav> landmarks:

<nav aria-label="GOV.UK One Login menu" class="one-login-header__nav" data-open-class="one-login-header__nav--open" id="one-login-header__nav">

<nav aria-label="Name of example service menu">

are read out by a screen reader, they are announced as ‘GOV.UK One Login menu, navigation’ and ‘Name of example service menu, navigation’.

As the words ‘menu’ and ‘navigation’ could be considered to communicate the same information, removing ‘menu’ from the labels would provide a shorter announcement while still informing the user of the purpose of these landmarks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant