commit 6de648d1539cf06cf61a1a1aad18eb4b41562da1 Author: Alexander Surkov Date: Fri Jul 19 14:10:01 2013 -0400 Bug 12703 - Review/Modify/Add IA2 and ATK role mapping for elements diff --git a/css/extra.css b/css/extra.css index 8d7ea3c..da5be84 100644 --- a/css/extra.css +++ b/css/extra.css @@ -44,4 +44,13 @@ summary:hover, summary:focus, details[open] summary:hover, details[open] summary .show-hide-cols button {background-color: #ddd; font-size: 80%; margin: 0 5px; padding-right: 15px;} .show-hide-cols .action {position: absolute; left: -9999em;} .show-col {background: url(../img/cross.png) no-repeat right center;} -.hide-col {background: url(../img/tick.png) no-repeat right center;} \ No newline at end of file +.hide-col {background: url(../img/tick.png) no-repeat right center;} + +.mapping, .role, .states, .actions, .objattrs, .textattrs { + margin-top: 6px; + margin-bottom: 6px; +} + +.type { + font-weight: bold; +} \ No newline at end of file diff --git a/index.html b/index.html index 27df853..7e7e846 100644 --- a/index.html +++ b/index.html @@ -102,7 +102,19 @@ Yes link role ROLE_SYSTEM_LINK. Also, apply special rule to expose STATE_LINKED to link and all its descendants.

Use MSAA or UIA guidance - ROLE_SYSTEM_LINK. Also, apply special rule to expose STATE_LINKED to link and all its descendants. + +
+ Role: ROLE_SYSTEM_LINK +
+
+ States: + STATE_SYSTEM_LINKED to link and all its descendants. If link is visited then STATE_SYSTEM_TRAVERSED. +
+
+ Actions: + "jump" action on link and all its descendants. +
+ HyperLink ROLE_LINK AXLink
(null)
link @@ -113,7 +125,12 @@ Yes none ROLE_SYSTEM_TEXT

Use MSAA or UIA guidance - ROLE_SYSTEM_TEXT + +
+ Role: + tag name BSTR (MSAA) and IA2_ROLE_TEXT_FRAME +
+ Text ROLE_TEXT AXGroup
(null)
group @@ -124,7 +141,12 @@ Yes none ROLE_SYSTEM_TEXT

Use MSAA or UIA guidance - IA2_ROLE_TEXT_FRAME + +
+ Role: + tag name BSTR (MSAA) and IA2_ROLE_TEXT_FRAME +
+ Text

ROLE_TEXT

Object attribute role="abbr"

@@ -136,8 +158,16 @@ Yes none ROLE_SYSTEM_GROUPING

Use MSAA or UIA guidance -

IA2_ROLE_PARAGRAPH

-

Object attribute role="address"

+ +
+ Role: + tag name BSTR (MSAA) and IA2_ROLE_PARAGRAPH +
+
+ Object attributes: + "xml-roles: address" +
+ Group

ROLE_PARAGRAPH

Object attribute role="address"

@@ -149,7 +179,16 @@ Yes link role ROLE_SYSTEM_LINK. Also, apply special rule to expose STATE_LINKED to link and all its descendants.

Use MSAA or UIA guidance - ROLE_SYSTEM_LINK. Also, apply special rule to expose STATE_LINKED to link and all its descendants. + +
+ Role: + ROLE_SYSTEM_LINK exposed as a child of connected HTML:img element +
+
+ States: + STATE_LINKED +
+ HyperLink ROLE_LINK AXLink
(null)
link @@ -160,7 +199,12 @@ Yes none ROLE_SYSTEM_TEXT

Use MSAA or UIA guidance - ROLE_SYSTEM_TEXT + +
+ Role: + tag name BSTR (MSAA) and IA2_ROLE_SHAPE +
+ Text ROLE_TEXT Not mapped @@ -171,7 +215,20 @@ Yes article role ROLE_SYSTEM_DOCUMENT + STATE_SYSTEM_READONLY

??ROLE_SYSTEM_GROUPING?

Use MSAA or UIA guidance - ROLE_SYSTEM_DOCUMENT + STATE_SYSTEM_READONLY + +
+ Role: + ROLE_SYSTEM_DOCUMENT +
+
+ States: + STATE_SYSTEM_READONLY +
+
+ Object attributes: + "xml-roles: article" +
+ ??Group or Text?? ROLE_DOCUMENT_FRAME + do not expose STATE_EDITABLE AXGroup
AXDocumentArticle
article @@ -182,7 +239,16 @@ Yes complementary role ROLE_SYSTEM_GROUPING

Use MSAA or UIA guidance - IA2_ROLE_COMPLEMENTARY_CONTENT

Object attribute role="complementary" + +
+ Role: + tag name BSTR (MSAA) and IA2_ROLE_NOTE +
+
+ Object attributes: + "xml-roles: complementary" +
+ Group ROLE_SECTION

Object attribute role="complementary" AXGroup
AXLandmarkComplementary
complementary @@ -193,7 +259,12 @@ Yes none ROLE_SYSTEM_GROUPING

? - ROLE_SYSTEM_GROUPING + +
+ Role: + ROLE_SYSTEM_GROUPING +
+ Group ROLE_PANEL

AXGroup
(null)
group

Note: UI controls within the audio element exposed as AXToolbar.

@@ -204,7 +275,12 @@ Yes none ROLE_SYSTEM_TEXT

Use MSAA or UIA guidance - ROLE_SYSTEM_TEXT + +
Doesn't have an accessible, exposed as + "font-weight" text attribute on the text container. + The value depends on the platform. +
+ Text ROLE_TEXT AXGroup
(null)
group @@ -215,7 +291,9 @@ Yes none Not mapped

Not mapped - Not mapped + +
Not mapped
+ Not mapped Not mapped Not mapped @@ -226,7 +304,11 @@ none - + +
Doesn't have an accessible. May affect on + "writing-mode" text attribute on the text container. +
+ @@ -237,7 +319,11 @@ Yes none ROLE_SYSTEM_TEXT

Use MSAA or UIA guidance - ROLE_SYSTEM_TEXT + +
Doesn't have an accessible. + Exposed as "writing-mode" text attribute on the text container. +
+ text ROLE_TEXT AXGroup
(null)
group