You've already forked AstralRinth
Add fallback for checkbox aria-labels if description is not provided (#5066)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
? 'cursor-not-allowed opacity-50'
|
||||
: 'cursor-pointer hover:brightness-[--hover-brightness] focus-visible:brightness-[--hover-brightness]'
|
||||
"
|
||||
:aria-label="description"
|
||||
:aria-label="description || label"
|
||||
:aria-checked="modelValue"
|
||||
role="checkbox"
|
||||
@click="toggle"
|
||||
|
||||
Reference in New Issue
Block a user