Added aria-landmarks on important pieces of content

This commit is contained in:
Agate 2020-08-04 17:27:00 +02:00
parent baf15c73a7
commit 6c580bc411
4 changed files with 13 additions and 4 deletions

View file

@ -107,7 +107,10 @@
<translate translate-context="*/Signup/Link/Verb">Create an account</translate>
</router-link>
</div>
<nav class="secondary" role="navigation">
<nav class="secondary" role="navigation" aria-labelledby="navigation-label">
<h1 id="navigation-label" class="visually-hidden">
<translate translate-context="*/*/*">Main navigation</translate>
</h1>
<div class="ui small hidden divider"></div>
<section :class="['ui', 'bottom', 'attached', {active: selectedTab === 'library'}, 'tab']" :aria-label="labels.mainMenu">
<nav class="ui vertical large fluid inverted menu" role="navigation" :aria-label="labels.mainMenu">