Skip to content

Commit

Permalink
fix(accessiblity): remove aria hidden from inputs (chromatic-build)
Browse files Browse the repository at this point in the history
  • Loading branch information
smithoo committed Aug 28, 2024
1 parent 884d886 commit 68ef38a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<button
v-if="!noClear && hasValue && !computedReadonly && !computedDisabled"
class="vs-clear-button"
aria-hidden="true"
aria-label="Clear"
tabindex="-1"
@click.stop="onClear()"
>
Expand Down
2 changes: 1 addition & 1 deletion packages/vlossom/src/components/vs-input/VsInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
class="vs-clear-button"
:class="{ show: inputValue }"
:disabled="!inputValue"
aria-hidden="true"
aria-label="Clear"
tabindex="-1"
@click.stop="clearWithFocus()"
>
Expand Down
2 changes: 1 addition & 1 deletion packages/vlossom/src/components/vs-select/VsSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
v-if="!noClear && selectedOptions.length && !computedReadonly && !computedDisabled"
type="button"
class="vs-clear-button"
aria-hidden="true"
aria-label="Clear"
tabindex="-1"
@click.stop="onClear()"
>
Expand Down

0 comments on commit 68ef38a

Please sign in to comment.