Skip to content

Commit

Permalink
Fix inverted logic for dropdown aria (#10373)
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert authored Feb 7, 2025
1 parent 8da0428 commit 988b24e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/src/sui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,13 +310,13 @@ export class DropdownMenu extends UIElement<DropdownProps, DropdownState> {
const aria = {
'role': role || 'combobox',
'aria-disabled': disabled,
'aria-haspopup': !!disabled,
'aria-haspopup': !disabled,
'aria-expanded': open
}
const menuAria = {
'role': 'menu',
'aria-label': lf("Dropdown menu {0}", title),
'aria-hidden': !!open
'aria-hidden': !open
}
const classes = cx([
'ui',
Expand Down

0 comments on commit 988b24e

Please sign in to comment.