don't announce icon

This commit is contained in:
Cory LaViska
2021-04-09 13:51:48 -04:00
parent 70a94bb38e
commit 2bbea51830
2 changed files with 2 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ _During the beta period, these restrictions may be relaxed in the event of a mis
- Added `sl-radio-group` component [#218](https://github.com/shoelace-style/shoelace/issues/218)
- Fixed a bug where `sl-menu-item` prefix and suffix slots wouldn't always receive the correct spacing
- Improved a11y in `sl-radio` with Windows high contrast mode [#215](https://github.com/shoelace-style/shoelace/issues/215)
- Improved a11y in `sl-select` by preventing the chevron icon from being announced
## 2.0.0-beta.37

View File

@@ -458,7 +458,7 @@ export default class SlSelect extends LitElement {
`
: ''}
<span part="icon" class="select__icon">
<span part="icon" class="select__icon" aria-hidden="true">
<sl-icon name="chevron-down"></sl-icon>
</span>