Add missing button roles for the language chooser and keyboard shortcut menu items

pull/2286/head
Marco Zehe 2019-11-24 12:07:02 +01:00 committed by Chocobozzz
parent a5895f982e
commit 14981d7331
1 changed files with 2 additions and 2 deletions

View File

@ -104,11 +104,11 @@
<div class="footer d-flex justify-content-between">
<span class="language">
<span tabindex="0" (keyup.enter)="openLanguageChooser()" (click)="openLanguageChooser()" i18n-title title="Change the language" class="icon icon-language"></span>
<span tabindex="0" role="button" (keyup.enter)="openLanguageChooser()" (click)="openLanguageChooser()" i18n-title title="Change the language" class="icon icon-language"></span>
</span>
<span class="shortcuts">
<span tabindex="0" (keyup.enter)="openHotkeysCheatSheet()" (click)="openHotkeysCheatSheet()" i18n-title title="Show keyboard shortcuts" class="icon icon-shortcuts"></span>
<span tabindex="0" role="button" (keyup.enter)="openHotkeysCheatSheet()" (click)="openHotkeysCheatSheet()" i18n-title title="Show keyboard shortcuts" class="icon icon-shortcuts"></span>
</span>
</div>
</menu>