diff options
| author | Adam Soltys <[email protected]> | 2026-02-03 11:41:09 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-11 15:33:27 -0800 |
| commit | 4bc319a709d27bcdb805294e019d53e25f6e00c5 (patch) | |
| tree | 2ab903d969946ddd6129f2e6b796368adeef65cd /src/routes/(app)/account/pass | |
| parent | 8a6108a56c2e5035fd99c39ea13104cf23d98e2d (diff) | |
| download | coinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.tar.gz coinos-ui-4bc319a709d27bcdb805294e019d53e25f6e00c5.zip | |
fix warnings
Diffstat (limited to 'src/routes/(app)/account/pass')
| -rw-r--r-- | src/routes/(app)/account/pass/+page.svelte | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/src/routes/(app)/account/pass/+page.svelte b/src/routes/(app)/account/pass/+page.svelte index 3be7628d..7de18184 100644 --- a/src/routes/(app)/account/pass/+page.svelte +++ b/src/routes/(app)/account/pass/+page.svelte @@ -107,12 +107,18 @@ /> {/if} - <iconify-icon noobserver - class="cursor-pointer ml-auto" + <button + type="button" + class="ml-auto" + aria-label="Toggle password visibility" onclick={() => (revealPassword = !revealPassword)} - icon={revealPassword ? "ph:eye-bold" : "ph:eye-slash-bold"} - width="32" - ></iconify-icon> + > + <iconify-icon + noobserver + icon={revealPassword ? "ph:eye-bold" : "ph:eye-slash-bold"} + width="32" + ></iconify-icon> + </button> </label> <label @@ -139,12 +145,18 @@ class="clean" /> {/if} - <iconify-icon noobserver - class="cursor-pointer ml-auto" + <button + type="button" + class="ml-auto" + aria-label="Toggle confirmation visibility" onclick={() => (revealConfirm = !revealConfirm)} - icon={revealConfirm ? "ph:eye-bold" : "ph:eye-slash-bold"} - width="32" - ></iconify-icon> + > + <iconify-icon + noobserver + icon={revealConfirm ? "ph:eye-bold" : "ph:eye-slash-bold"} + width="32" + ></iconify-icon> + </button> </label> <div class="flex gap-2"> |
