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 10, 2025
1 parent ad3b3a8 commit 8961693
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 8961693

Please sign in to comment.