mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-12 02:07:26 +01:00
perf: avoid aria-hidden="false" (#1640)
This commit is contained in:
parent
6211402afc
commit
4903f2effa
@ -5,7 +5,7 @@
|
||||
title={pressable ? (pressed ? pressedLabel : label) : label}
|
||||
aria-label={label}
|
||||
aria-pressed={pressable ? !!pressed : undefined}
|
||||
aria-hidden={ariaHidden}
|
||||
aria-hidden={ariaHidden ? 'true' : undefined}
|
||||
tabindex="{ariaHidden ? '-1' : '0'}"
|
||||
class={computedClass}
|
||||
{disabled}
|
||||
|
Loading…
Reference in New Issue
Block a user