Add aria-label attribute to navigation drawer button. (#3157)

Co-authored-by: David Wheatley <hi@davwheat.dev>
This commit is contained in:
Garrett Grimm 2021-11-08 10:40:17 -08:00 committed by GitHub
parent d145e8cfc9
commit 2d386c8e21
2 changed files with 5 additions and 0 deletions

View File

@ -93,6 +93,7 @@ export default class Navigation extends Component {
drawer.show();
},
icon: 'fas fa-bars',
'aria-label': app.translator.trans('core.lib.nav.drawer_button'),
});
}
}

View File

@ -539,6 +539,10 @@ core:
loading_indicator:
accessible_label: => core.ref.loading
# These translations are used in the navigation header.
nav:
drawer_button: Open Navigation Drawer
# These translations are used as suffixes when abbreviating numbers.
number_suffix:
kilo_text: K