mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Allow tab to show/hide password button for keyboard accessibility (#11416)
This commit is contained in:
parent
8bfef92c86
commit
e4085fe1f6
@ -68,7 +68,6 @@ export class HaFormString extends LitElement implements HaFormElement {
|
|||||||
toggles
|
toggles
|
||||||
.label=${`${this._unmaskedPassword ? "Hide" : "Show"} password`}
|
.label=${`${this._unmaskedPassword ? "Hide" : "Show"} password`}
|
||||||
@click=${this._toggleUnmaskedPassword}
|
@click=${this._toggleUnmaskedPassword}
|
||||||
tabindex="-1"
|
|
||||||
.path=${this._unmaskedPassword ? mdiEyeOff : mdiEye}
|
.path=${this._unmaskedPassword ? mdiEyeOff : mdiEye}
|
||||||
></ha-icon-button>`
|
></ha-icon-button>`
|
||||||
: ""}
|
: ""}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user