docs(input): fix aria-label on examples (#3149)

This commit is contained in:
Aaron Dewes
2025-01-21 12:12:14 +01:00
committed by GitHub
parent 53d636aa9b
commit 629dcfab16
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ const text = computed(() => {
variant="link"
size="sm"
:icon="show ? 'i-lucide-eye-off' : 'i-lucide-eye'"
aria-label="show ? 'Hide password' : 'Show password'"
:aria-label="show ? 'Hide password' : 'Show password'"
:aria-pressed="show"
aria-controls="password"
@click="show = !show"

View File

@@ -16,7 +16,7 @@ const password = ref('password')
variant="link"
size="sm"
:icon="show ? 'i-lucide-eye-off' : 'i-lucide-eye'"
aria-label="show ? 'Hide password' : 'Show password'"
:aria-label="show ? 'Hide password' : 'Show password'"
:aria-pressed="show"
aria-controls="password"
@click="show = !show"