mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 11:01:40 +00:00
bug 474408 - Remove role='description', r=MarcoZ
This commit is contained in:
parent
36729e6796
commit
5286be7620
@ -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;
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user