Test with aria-label #3452724
1 unresolved thread
1 unresolved thread
Closes #3452724
Merge request reports
Activity
added 1 commit
added 1 commit
added 6 commits
Toggle commit list1 1 {% import _self as menus %} 2 2 <div class="admin-toolbar__item"> 3 <h4 class="visually-hidden focusable">{{ title }}</h4> 4 <ul class="toolbar-block__list"> 5 {{ menus.menu_items(items, attributes, 0) }} 6 </ul> 3 <nav aria-label="{{ title }}"> I think this is a positive change. Only, we end up with a nested
<nav>
here, where the parent<nav>
is defined incore/modules/navigation/layouts/navigation.html.twig
which isn't great. You end up getting a double announcement for navigation, eg. (via Voiceover)"Administrative toolbar content, navigation" [...] "Shortcuts, navigation" [...] "Content, navigation" [...] "Administration, navigation" [...] "Administrative toolbar footer, navigation" [...] "Help, navigation" [...] "User, navigation"
I think both "Administrative toolbar content, navigation" and "Administrative toolbar footer, navigation" are now redundant
<nav>
's. The<nav>
added here around each menu is much more useful and descriptive. Let’s remove the<nav>
wrapper incore/modules/navigation/layouts/navigation.html.twig
.changed this line in version 14 of the diff
added 1 commit
added 145 commits
-
0d8a0191...93ec7a93 - 143 commits from branch
project:11.x
- 61a43b4d - Merge branch '11.x' into 3452724-nav-label
- 4371b754 - Merge branch '11.x' into 3452724-nav-label
-
0d8a0191...93ec7a93 - 143 commits from branch
added 112 commits
-
4371b754...7dacab44 - 111 commits from branch
project:11.x
- 77838fef - Merge branch '11.x' into 3452724-nav-label
-
4371b754...7dacab44 - 111 commits from branch
added 111 commits
-
77838fef...b4fffd14 - 105 commits from branch
project:11.x
- 0e2cb829 - Test with aria-label
- 61d3b477 - Issue #3452724 by vladimiraus: Add back the ID and aria-labelled-by to title...
- f42a6e05 - Issue #3452724 by vladimiraus: Add back the ID and aria-labelled-by to title...
- 8fe15b1d - Issue #3452724: Add test coverage
- 1ae4160d - Issue #3452724: cspell
- 7e6b3fd3 - Issue #3452724: Remove wrapping <nav> element in the navigation.html.twig template
Toggle commit list-
77838fef...b4fffd14 - 105 commits from branch
Please register or sign in to reply