Skip to content

Commit 3dbb0f8

Browse files
committed
fix: Add 'expanded'/'collapsed' announcement
1 parent 046a0e6 commit 3dbb0f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AnchoredOverlay/AnchoredOverlay.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ export const AnchoredOverlay: React.FC<AnchoredOverlayProps> = ({
143143
id: anchorId,
144144
'aria-labelledby': anchorId,
145145
'aria-haspopup': true,
146+
'aria-expanded': open,
146147
'aria-controls': overlayId,
147148
tabIndex: 0,
148149
onClick: onAnchorClick,

0 commit comments

Comments
 (0)