File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 // Navigation
3535 'close ' => 'Close ' ,
3636 'menu ' => 'Menu ' ,
37+ 'nav_close ' => 'Close navigation ' ,
38+ 'nav_open ' => 'Open navigation ' ,
39+ 'subnav_close ' => 'Close sub navigation ' ,
40+ 'subnav_open ' => 'Open sub navigation ' ,
3741 'skip_to_content ' => 'Skip to content ' ,
3842
3943 // Other
Original file line number Diff line number Diff line change 1717 "
1818 {{ if children }}
1919 href =" #"
20+ :aria-label ="
21+ subnavOpen
22+ ? '{{ trans :strings .subnav_close }}'
23+ : '{{ trans :strings .subnav_open }}'
24+ "
2025 @click.prevent =" subnavOpen = !subnavOpen"
2126 {{ else }}
2227 href =" {{ url }}"
Original file line number Diff line number Diff line change 99 <button
1010 @click.prevent =" mobileNavOpen = !mobileNavOpen"
1111 class =" fixed bottom-0 right-0 z-20 flex items-center justify-center w-16 h-16 mr-8 text-xs font-bold text-white mb-safe bg-primary"
12- aria-label =" Toggle menu"
12+ :aria-label ="
13+ mobileNavOpen
14+ ? '{{ trans :strings .nav_close }}'
15+ : '{{ trans :strings .nav_open }}'
16+ "
1317 x-text =" mobileNavOpen ? '{{ trans :strings .close }}' : '{{ trans :strings .menu }}'"
1418 ></button >
1519
3236 href =" #"
3337 @click.prevent =" mobileNavSubnavOpen = !mobileNavSubnavOpen"
3438 @click.outside =" mobileNavSubnavOpen = false"
39+ :aria-label ="
40+ mobileNavSubnavOpen
41+ ? '{{ trans :strings .subnav_close }}'
42+ : '{{ trans :strings .subnav_open }}'
43+ "
3544 {{ else }}
3645 href =" {{ url }}"
3746 {{ /if }}
You can’t perform that action at this time.
0 commit comments