Add some aria-labels for use with fastlane snapshot (#3293)

This commit is contained in:
Robbie Trencheny 2019-06-20 23:16:50 -07:00 committed by Paulus Schoutsen
parent 7002ab27c0
commit 32d9a6884f
3 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,7 @@ class HaMenuButton extends LitElement {
protected render(): TemplateResult | void {
return html`
<paper-icon-button
aria-label="Sidebar Toggle"
.icon=${this.hassio ? "hassio:menu" : "hass:menu"}
@click=${this._toggleMenu}
></paper-icon-button>

View File

@ -125,6 +125,7 @@ class HaSidebar extends LitElement {
${this._externalConfig && this._externalConfig.hasSettingsScreen
? html`
<a
aria-label="App Configuration"
href="#external-app-configuration"
tabindex="-1"
@click=${this._handleExternalAppConfiguration}

View File

@ -232,7 +232,7 @@ class HUIRoot extends LitElement {
>
${this.lovelace!.config.views.map(
(view) => html`
<paper-tab>
<paper-tab aria-label="${view.title}">
${this._editMode
? html`
<ha-paper-icon-button-arrow-prev