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 a new issue