Skip to content

Commit

Permalink
Merge pull request #106 from UrbanInstitute/patch-dropdown-icon-a11y
Browse files Browse the repository at this point in the history
Patch BasicDropdown icon accessibility
  • Loading branch information
benkates authored Jul 17, 2024
2 parents 3d31c4a + 946b0e7 commit 3496dba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Next

- Patch: Update BasicDropdown with better accessibility (icon hidden from screen readers)
- Feature: GitHub source links for components via [@etchteam/storybook-addon-github-link](https://storybook.js.org/addons/@etchteam/storybook-addon-github-link) in storybook docs

## v0.10.2
Expand Down
2 changes: 1 addition & 1 deletion src/lib/BasicDropdown/BasicDropdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
{/if}
{/each}
</select>
<div class="icons">
<div class="icons" aria-hidden="true">
<span class="dropdown-chevron">
<slot name="icon">
{#if variant === "primary"}
Expand Down

0 comments on commit 3496dba

Please sign in to comment.