File tree 2 files changed +5
-2
lines changed
packages/circuit-ui/components/Popover
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @sumup-oss/circuit-ui " : patch
3
+ ---
4
+
5
+ Removed the superfluous aria-haspopup attribute from Popover's trigger element.
Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ export interface PopoverProps {
161
161
'onClick' : ( event : ClickEvent ) => void ;
162
162
'onKeyDown' : ( event : KeyboardEvent ) => void ;
163
163
'id' : string ;
164
- 'aria-haspopup' : boolean ;
165
164
'aria-controls' : string ;
166
165
'aria-expanded' : boolean ;
167
166
} ) => React . JSX . Element ;
@@ -322,7 +321,6 @@ export const Popover = ({
322
321
< div className = { classes . trigger } ref = { refs . setReference } >
323
322
< Component
324
323
id = { triggerId }
325
- aria-haspopup = { true }
326
324
aria-controls = { menuId }
327
325
aria-expanded = { isOpen }
328
326
onClick = { handleTriggerClick }
You can’t perform that action at this time.
0 commit comments