Allow tab to show/hide password button for keyboard accessibility (#11416)

This commit is contained in:
Steve Repsher 2022-01-24 22:26:44 -05:00 committed by GitHub
parent 8bfef92c86
commit e4085fe1f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,6 @@ export class HaFormString extends LitElement implements HaFormElement {
toggles
.label=${`${this._unmaskedPassword ? "Hide" : "Show"} password`}
@click=${this._toggleUnmaskedPassword}
tabindex="-1"
.path=${this._unmaskedPassword ? mdiEyeOff : mdiEye}
></ha-icon-button>`
: ""}