add aria pressed to toggle visibility button, to show current state

This commit is contained in:
Sine Jespersen 2025-06-16 09:40:41 +02:00
parent 53d044f8a2
commit 400c4c3d12

View File

@ -26,6 +26,7 @@
<button
class={showButtonClassName}
type="button"
aria-pressed={show}
aria-label={$i18n.t('Make password visible in the user interface')}
on:click={(e) => {
e.preventDefault();