From 7665e3cf7abac41a8b767e58a2ac1d3df8426e30 Mon Sep 17 00:00:00 2001 From: Uditi Mehta <57388785+uditijmehta@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:24:57 -0400 Subject: [PATCH] ENG-3769: Fix a11y issue on draft registration pages (#2199) ## Purpose Fix a11y of an SVG icon on draft registration pages ## Summary of Changes - Changed @ariaHidden to ensures the SVG icon is not hidden. - Added aria-label. Co-authored-by: Uditi Mehta --- .../schema-block-renderer/helper-text-icon/template.hbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/osf-components/addon/components/registries/schema-block-renderer/helper-text-icon/template.hbs b/lib/osf-components/addon/components/registries/schema-block-renderer/helper-text-icon/template.hbs index 38d8cf6d85..d6f0463d62 100644 --- a/lib/osf-components/addon/components/registries/schema-block-renderer/helper-text-icon/template.hbs +++ b/lib/osf-components/addon/components/registries/schema-block-renderer/helper-text-icon/template.hbs @@ -5,7 +5,8 @@ tabindex='0' id={{id}} @icon='question-circle' - @ariaHidden={{false}} + aria-hidden='false' + aria-label={{this.helpText}} ...attributes />