nicolium: add aria-haspopup for dropdowns
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -387,6 +387,7 @@ const DropdownMenu: React.FC<IDropdownMenu> = (props) => {
|
||||
onClick: handleClick,
|
||||
onKeyPress: handleKeyPress,
|
||||
ref: refs.setReference,
|
||||
'aria-haspopup': true,
|
||||
'aria-expanded': isOpen,
|
||||
});
|
||||
}, [children, !!items?.length, component]);
|
||||
|
||||
Reference in New Issue
Block a user