From 4903f2effa459322fe4ff7e2c57d51bf0b116aaf Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 17 Nov 2019 20:51:44 -0500 Subject: [PATCH] perf: avoid aria-hidden="false" (#1640) --- src/routes/_components/IconButton.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/_components/IconButton.html b/src/routes/_components/IconButton.html index 4c2b9aaa..d1279084 100644 --- a/src/routes/_components/IconButton.html +++ b/src/routes/_components/IconButton.html @@ -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}