Skip to content

Commit

Permalink
feat(Dropdown): enhance accessibility by exposing combobox role dir…
Browse files Browse the repository at this point in the history
…ectly to the span label (fixes primefaces#7584)
  • Loading branch information
iamkyrylo committed Jan 8, 2025
1 parent 33be9ca commit 097d0e3
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 136 deletions.
4 changes: 2 additions & 2 deletions components/doc/dropdown/accessibilitydoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export function AccessibilityDoc() {
const code = {
basic: `
<span id="dd1">Options</span>
<Dropdown aria-labelledby="dd1" />
<Dropdown ariaLabelledby="dd1" />
<Dropdown aria-label="Options" />
<Dropdown ariaLabel="Options" />
`
};

Expand Down
Loading

0 comments on commit 097d0e3

Please sign in to comment.