Skip to content

Commit

Permalink
Fix OptionGroup ARIA role.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Feb 7, 2025
1 parent 1d435a7 commit 3a78228
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function OptionGroup( {
}: OptionGroupProps ) {
const role =
'aria-label' in additionalProps || 'aria-labelledby' in additionalProps
? 'group'
? 'listbox'
: undefined;

return (
Expand Down

0 comments on commit 3a78228

Please sign in to comment.