From 68fcf73227c37ff9af83b85916f0081c5d23f88c Mon Sep 17 00:00:00 2001 From: KDSBrowne Date: Tue, 24 Apr 2018 09:07:54 -0700 Subject: [PATCH] add aria-expanded to dropdown triggers --- .../imports/ui/components/dropdown/trigger/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/dropdown/trigger/component.jsx b/bigbluebutton-html5/imports/ui/components/dropdown/trigger/component.jsx index 8d4e02a468..cfcc57ed46 100644 --- a/bigbluebutton-html5/imports/ui/components/dropdown/trigger/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/dropdown/trigger/component.jsx @@ -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;