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 { protected render(): TemplateResult | void {
return html` return html`
<paper-icon-button <paper-icon-button
aria-label="Sidebar Toggle"
.icon=${this.hassio ? "hassio:menu" : "hass:menu"} .icon=${this.hassio ? "hassio:menu" : "hass:menu"}
@click=${this._toggleMenu} @click=${this._toggleMenu}
></paper-icon-button> ></paper-icon-button>

View File

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

View File

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