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 17, 2025
1 parent fcf3311 commit cbf0929
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 cbf0929

Please sign in to comment.