]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add missing button roles for the language chooser and keyboard shortcut menu items
authorMarco Zehe <marco.zehe@gmail.com>
Sun, 24 Nov 2019 11:07:02 +0000 (12:07 +0100)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 25 Nov 2019 08:51:00 +0000 (09:51 +0100)
client/src/app/menu/menu.component.html

index a29e145adf12cbf5634540f348d00836f0f131f7..b62329052a13253baeb2678f869f7c4eb8630e80 100644 (file)
 
     <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>