Improve menubutton a11y
The button now claims its menu as a child for a11y purposes, which makes it possible for ATs to see it when the navigate the tree top-down. Update the a11y test to match.
This commit is contained in:
@ -22,3 +22,18 @@ window1
|
||||
<AtkAction>
|
||||
action 0 name: click
|
||||
action 0 description: Clicks the button
|
||||
imagemenuitem
|
||||
"menu item"
|
||||
parent: menu
|
||||
index: 0
|
||||
name: New
|
||||
state: enabled selectable sensitive visible
|
||||
toolkit: gtk
|
||||
<AtkComponent>
|
||||
layer: popup
|
||||
alpha: 1
|
||||
<AtkAction>
|
||||
action 0 name: click
|
||||
action 0 description: Clicks the menuitem
|
||||
action 0 keybinding: n;;
|
||||
<AtkSelection>
|
||||
|
||||
Reference in New Issue
Block a user