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:
Matthias Clasen
2013-12-20 10:58:32 -05:00
parent 8a12a88b75
commit f200eebfd6
6 changed files with 178 additions and 0 deletions

View File

@ -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>