bug 474408 - Remove role='description', r=MarcoZ

This commit is contained in:
David Bolter 2009-02-10 10:40:38 +01:00
parent 36729e6796
commit 5286be7620
3 changed files with 3 additions and 11 deletions

View File

@ -305,8 +305,8 @@ interface nsIAccessibleRole : nsISupports
/**
* Represents read-only text, such as labels for other controls or
* instructions in a dialog box. Static text cannot be modified or selected.
* Is is used for xul:label, xul:description, html:lablel,
* role="label" or role="description", xforms:output.
* Is is used for xul:label, xul:description, html:label, role="label",
* or xforms:output.
*/
const unsigned long ROLE_STATICTEXT = 41;

View File

@ -134,14 +134,6 @@ nsRoleMapEntry nsARIAMap::gWAIRoleMap[] =
{&nsAccessibilityAtoms::aria_readonly, kBoolState, nsIAccessibleStates::STATE_READONLY},
kEndEntry
},
{
"description",
nsIAccessibleRole::ROLE_TEXT_CONTAINER,
eNoValue,
eNoAction,
kNoReqStates,
kEndEntry
},
{
"dialog",
nsIAccessibleRole::ROLE_DIALOG,

View File

@ -49,7 +49,7 @@
<pre id="test">
</pre>
<span role="description" style="color: red" id="span">text</span>
<span role="note" style="color: red" id="span">text</span>
</body>
</html>