fix(form-core): add aria-hidden=true to the graphic element of the choiceInput (#2447)
This commit is contained in:
parent
43b694e7f8
commit
795237d19e
2 changed files with 8 additions and 1 deletions
5
.changeset/popular-poets-rule.md
Normal file
5
.changeset/popular-poets-rule.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@lion/ui': patch
|
||||
---
|
||||
|
||||
[form-core] add aria-hidden=true to the graphic element of the choiceInput
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue