Fix tab focus issue in entity picker and password form. (#7252)

This commit is contained in:
Ryan Meek 2020-10-08 07:24:58 -04:00 committed by GitHub
parent 8d516ed12a
commit 701bea6cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -215,6 +215,7 @@ export class HaEntityPicker extends LitElement {
slot="suffix"
class="clear-button"
icon="hass:close"
tabindex="-1"
@click=${this._clearValue}
no-ripple
>
@ -230,6 +231,7 @@ export class HaEntityPicker extends LitElement {
slot="suffix"
class="toggle-button"
.icon=${this._opened ? "hass:menu-up" : "hass:menu-down"}
tabindex="-1"
>
Toggle
</ha-icon-button>

View File

@ -55,6 +55,7 @@ export class HaFormString extends LitElement implements HaFormElement {
id="iconButton"
title="Click to toggle between masked and clear password"
@click=${this._toggleUnmaskedPassword}
tabindex="-1"
>
</ha-icon-button>
</paper-input>