Skip to content

Commit 39b800d

Browse files
committed
adding comment
1 parent 524c4e3 commit 39b800d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/react-components/react-avatar/src/components/AvatarGroupItem/useAvatarGroupItem.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export const useAvatarGroupItem_unstable = (
6060
overflowLabel: resolveShorthand(props.overflowLabel, {
6161
required: true,
6262
defaultProps: {
63+
// Avatar already has its aria-label set to the name, this will prevent the name to be read twice.
6364
'aria-hidden': true,
6465
children: props.name,
6566
},

0 commit comments

Comments
 (0)