From cf1014f83a27b18a99fdf9f86e3889c7f9969474 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Tue, 21 Feb 2023 15:49:31 +0100 Subject: [PATCH] Update src/compiler/compile/nodes/Element.ts Co-authored-by: Yuichiro Yamashita --- src/compiler/compile/nodes/Element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/nodes/Element.ts b/src/compiler/compile/nodes/Element.ts index c2e1c0deb2..d6559008fc 100644 --- a/src/compiler/compile/nodes/Element.ts +++ b/src/compiler/compile/nodes/Element.ts @@ -713,7 +713,7 @@ export default class Element extends Node { const aria_hidden_attribute = attribute_map.get('aria-hidden'); const aria_hidden_exist = aria_hidden_attribute && aria_hidden_attribute.get_static_value(); - if (attribute_map.has('muted') || aria_hidden_exist) { + if (attribute_map.has('muted') || aria_hidden_exist === 'true') return; }