Add ARIA label for mail accounts toggle buttons

This commit is contained in:
Francis Lachapelle
2016-09-30 12:23:22 -04:00
parent c845d021ea
commit 508550d677
2 changed files with 5 additions and 1 deletions
@@ -121,6 +121,9 @@
/* Error message display bellow search field when the search string has less than the required number of characters */
"Enter at least %{minimumSearchLength} characters" = "Enter at least %{minimumSearchLength} characters";
/* Toggle visibility (ex: mail account in left navigation menu) */
"Toggle visibility" = "Toggle visibility";
/* Question mark shows list of hotkeys */
"Show or hide this help" = "Show or hide this help";
+2 -1
View File
@@ -38,7 +38,8 @@
ng-repeat="account in ::app.accounts track by account.id"
ng-class="{ 'md-flex': account.$expanded }">
<md-list>
<md-list-item ng-click="app.toggleAccountState(account)">
<md-list-item aria-label="{{ ::'Toggle visibility' | loc }}"
ng-click="app.toggleAccountState(account)">
<div class="sg-no-wrap">{{account.name}}</div>
<md-menu class="md-secondary">
<md-icon label:aria-label="Options"