🐛 Removed incorrect a11y roles from navigation template (#11833)

closes #11832.

- These hide the actual links from accessibility aids and are not appropriate to use in this context.
This commit is contained in:
Marco Zehe 2020-05-22 19:19:35 +02:00 committed by GitHub
parent 65656a9cf4
commit 3af9611778
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
<ul class="nav" role="menu">
<ul class="nav">
{{#foreach navigation}}
<li class="{{link_class for=(url) class=(concat "nav-" slug)}}" role="menuitem"><a href="{{url absolute="true"}}">{{label}}</a></li>
<li class="{{link_class for=(url) class=(concat "nav-" slug)}}"><a href="{{url absolute="true"}}">{{label}}</a></li>
{{/foreach}}
</ul>