Fix aria label icon name (#5992)

This commit is contained in:
Bram Kragten 2020-05-22 22:24:37 +02:00
parent 6076a0cdc4
commit fb929a089c
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ export class HaIconButton extends LitElement {
protected render(): TemplateResult {
return html`
<mwc-icon-button
.label=${this.label || this.icon}
.label=${this.label}
?disabled=${this.disabled}
@click=${this._handleClick}
>

View File

@ -183,7 +183,7 @@ class HUIRoot extends LitElement {
${this._conversation(this.hass.config.components)
? html`
<ha-icon-button
aria-label="Start conversation"
label="Start conversation"
icon="hass:microphone"
@click=${this._showVoiceCommandDialog}
></ha-icon-button>