add aria-expanded to dropdown triggers
This commit is contained in:
parent
534b8ea746
commit
68fcf73227
@ -59,8 +59,8 @@ export default class DropdownTrigger extends Component {
|
||||
...restProps,
|
||||
onClick: this.handleClick,
|
||||
onKeyDown: this.handleKeyDown,
|
||||
'aria-haspopup': true,
|
||||
className: cx(children.props.className, className),
|
||||
'aria-expanded': this.props.dropdownIsOpen,
|
||||
});
|
||||
|
||||
return TriggerComponentBounded;
|
||||
|
Loading…
Reference in New Issue
Block a user