Bug 737156 - Map role=note to IA2 role NOTE instead of SECTION, r=eitan, dbolter

This commit is contained in:
Mark Capella 2012-03-23 14:23:46 +09:00
parent 1e6e07e341
commit 0d0c6923a2
2 changed files with 11 additions and 0 deletions

View File

@ -335,6 +335,15 @@ nsRoleMapEntry nsARIAMap::gWAIRoleMap[] =
kNoReqStates,
eARIACheckableBool
},
{
"note",
roles::NOTE,
kUseMapRole,
eNoValue,
eNoAction,
eNoLiveAttr,
kNoReqStates
},
{
"option",
roles::OPTION,

View File

@ -68,6 +68,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=529289
//////////////////////////////////////////////////////////////////////////
// misc roles
testRole("note", ROLE_NOTE);
testRole("scrollbar", ROLE_SCROLLBAR);
testRole("dir", ROLE_LIST);
@ -154,6 +155,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=529289
<div role="sectionhead" id="sectionhead">sectionhead</div>
<!-- misc roles -->
<div role="note" id="note">note</div>
<div role="scrollbar" id="scrollbar">scrollbar</div>
<div id="dir" role="directory">