Fix aria label icon name (#5992)
This commit is contained in:
parent
c5b223988a
commit
7daafcbe1b
|
@ -25,7 +25,7 @@ export class HaIconButton extends LitElement {
|
||||||
protected render(): TemplateResult {
|
protected render(): TemplateResult {
|
||||||
return html`
|
return html`
|
||||||
<mwc-icon-button
|
<mwc-icon-button
|
||||||
.label=${this.label || this.icon}
|
.label=${this.label}
|
||||||
?disabled=${this.disabled}
|
?disabled=${this.disabled}
|
||||||
@click=${this._handleClick}
|
@click=${this._handleClick}
|
||||||
>
|
>
|
||||||
|
|
|
@ -183,7 +183,7 @@ class HUIRoot extends LitElement {
|
||||||
${this._conversation(this.hass.config.components)
|
${this._conversation(this.hass.config.components)
|
||||||
? html`
|
? html`
|
||||||
<ha-icon-button
|
<ha-icon-button
|
||||||
aria-label="Start conversation"
|
label="Start conversation"
|
||||||
icon="hass:microphone"
|
icon="hass:microphone"
|
||||||
@click=${this._showVoiceCommandDialog}
|
@click=${this._showVoiceCommandDialog}
|
||||||
></ha-icon-button>
|
></ha-icon-button>
|
||||||
|
|
Loading…
Reference in New Issue