From fdee29d82c4292ae570b5bf396d7fd4c17121a27 Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Tue, 30 Jan 2024 14:17:29 -0800 Subject: [PATCH] Allow `aria-hidden` argument This is already supported and tested: https://github.com/evoactivity/ember-svg-jar/blob/4c3db5068110809205d82c7070aefcc9b05d2132/packages/ember-svg-jar/tests/integration/helpers/svg-jar-test.js#L109-L122 It is considered a best practice to use aria-hidden on decorative SVGs: https://www.unimelb.edu.au/accessibility/techniques/accessible-svgs --- packages/ember-svg-jar/addon/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ember-svg-jar/addon/types.ts b/packages/ember-svg-jar/addon/types.ts index 3451fe7..f018be2 100644 --- a/packages/ember-svg-jar/addon/types.ts +++ b/packages/ember-svg-jar/addon/types.ts @@ -8,6 +8,7 @@ interface SvgJarAttrs { fill?: string | null; width?: string | null; height?: string | null; + 'aria-hidden'?: 'true' | 'false' | null; class?: string | null; role?: string | null; title?: string | null;