mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 565569. Fix accessibility tests.
This commit is contained in:
parent
c57160c9f8
commit
50796fed5f
@ -73,7 +73,8 @@
|
||||
// Note: if input have label elements then the name isn't calculated
|
||||
// from them.
|
||||
testName("btn_labelledby_mixed_input",
|
||||
"input button Submit Query Reset Submit Query");
|
||||
"Submit Query Reset Submit Query");
|
||||
// XXX Bug 567203 "input button Submit Query Reset Submit Query");
|
||||
|
||||
// Gets the name from the title of object element.
|
||||
testName("btn_labelledby_mixed_object", "object");
|
||||
|
@ -36,24 +36,18 @@
|
||||
testAccessibleTree("radio", accTree);
|
||||
|
||||
// input@type="button" and input@type="submit"
|
||||
accTree = {
|
||||
role: ROLE_PUSHBUTTON,
|
||||
children: [ ]
|
||||
};
|
||||
|
||||
testAccessibleTree("btn1", accTree);
|
||||
testAccessibleTree("submit", accTree);
|
||||
|
||||
// button
|
||||
accTree = {
|
||||
role: ROLE_PUSHBUTTON,
|
||||
children: [
|
||||
{
|
||||
role: ROLE_TEXT_LEAF
|
||||
role: ROLE_TEXT_LEAF // XXX Bug 567203
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
testAccessibleTree("btn1", accTree);
|
||||
testAccessibleTree("submit", accTree);
|
||||
testAccessibleTree("btn2", accTree);
|
||||
|
||||
// input@type="image"
|
||||
|
Loading…
Reference in New Issue
Block a user