We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81df17b commit 1b8b96eCopy full SHA for 1b8b96e
packages/react/src/ActionList/Group.tsx
@@ -97,7 +97,7 @@ export const Group: React.FC<React.PropsWithChildren<ActionListGroupProps>> = ({
97
// because the heading is hidden from the accessibility tree and only used for presentation role.
98
// We will instead use aria-label to label the list. See a line below.
99
aria-labelledby={listRole ? undefined : groupHeadingId}
100
- aria-label={listRole ? title ?? (slots.groupHeading?.props.children as string) : undefined}
+ aria-label={listRole ? (title ?? (slots.groupHeading?.props.children as string)) : undefined}
101
role={role || (listRole && 'group')}
102
>
103
{slots.groupHeading ? childrenWithoutSlots : props.children}
0 commit comments