mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 964546 - Add test for ignored roles. r=surkov
This commit is contained in:
parent
d52820361f
commit
a639c857e9
@ -129,6 +129,10 @@
|
||||
// roles transformed by ARIA state attributes
|
||||
testRole("togglebutton", ROLE_TOGGLE_BUTTON);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// ignore unknown roles, take first known
|
||||
testRole("unknown_roles", ROLE_PUSHBUTTON);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// misc roles
|
||||
testRole("note", ROLE_NOTE);
|
||||
@ -300,6 +304,9 @@
|
||||
<!-- roles transformed by ARIA state attributes -->
|
||||
<button aria-pressed="true" id="togglebutton">
|
||||
|
||||
<!-- take the first known mappable role -->
|
||||
<div role="wiggly:worm abc123 button" id="unknown_roles">worm button</div>
|
||||
|
||||
<!-- misc roles -->
|
||||
<div role="note" id="note">note</div>
|
||||
<div role="scrollbar" id="scrollbar">scrollbar</div>
|
||||
|
Loading…
Reference in New Issue
Block a user