Skip to content

Commit

Permalink
fix(form-core): add aria-hidden=true to the graphic element of the ch…
Browse files Browse the repository at this point in the history
…oiceInput (#2447)
  • Loading branch information
gerjanvangeest authored Jan 20, 2025
1 parent 43b694e commit 795237d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/popular-poets-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lion/ui': patch
---

[form-core] add aria-hidden=true to the graphic element of the choiceInput
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ const ChoiceInputMixinImplementation = superclass =>
render() {
return html`
<slot name="input"></slot>
<div class="choice-field__graphic-container">${this._choiceGraphicTemplate()}</div>
<div class="choice-field__graphic-container" aria-hidden="true">
${this._choiceGraphicTemplate()}
</div>
<div class="choice-field__label">
<slot name="label"></slot>
</div>
Expand Down

0 comments on commit 795237d

Please sign in to comment.