Skip to content

Commit 3d80287

Browse files
Fix(accessibility) fix sa11y accessibility issue for combobox (#5141)
* Cleaned code, added release notes * Fixed the release number * updated the release note * Fixed aria-label attr * Removed default aria label values * updated the aria-label * updated aria-label * corrected name of prop according to listboxwrapper --------- Co-authored-by: Manjunath Kalburgi <[email protected]>
1 parent 5940828 commit 3d80287

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

ui/components/combobox/RELEASENOTES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
- Fixed by adding dynamic Ids for duplicate-id-aria issue
1010
- Fixed by adding unique Ids,aria-label for `aria-allowed-attr` wcag issue
1111

12+
## 2.21.0
13+
14+
## Added
15+
16+
Added `aria-label` to meet accessibility requirements specifically for screen readers.
17+
1218
## 2.17.3
1319

1420
## Fixed

ui/components/combobox/base/example.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ export let states = [
447447
<ListboxWrapper
448448
id="listbox-id-3"
449449
className="slds-dropdown slds-dropdown_fluid"
450+
ariaLabel="{{Placeholder for Dropdown Options}}"
450451
>
451452
<ListboxGroup
452453
aria-label="Group One"

0 commit comments

Comments
 (0)