mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
Add some aria-labels for use with fastlane snapshot (#3293)
This commit is contained in:
parent
7002ab27c0
commit
32d9a6884f
@ -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>
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user