perf: avoid aria-hidden="false" (#1640)

This commit is contained in:
Nolan Lawson 2019-11-17 20:51:44 -05:00 committed by GitHub
parent 6211402afc
commit 4903f2effa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}