We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10e89c8 commit 42330e9Copy full SHA for 42330e9
src/select/utils/use-announcement.ts
@@ -63,8 +63,3 @@ export function useAnnouncement<Option extends OptionHolder>({
63
return [selectedAnnouncement, defaultDescription].filter(Boolean).join(' ');
64
}
65
66
-// // Use default renderer. Selection state is communicated via aria-selected/aria-checked attributes,
67
-// // not through the accessible name or live region announcements.
68
-// const defaultDescription = defaultOptionDescription({ option, parentGroup: group, highlightText });
69
-// return defaultDescription;
70
-// }
0 commit comments