From 66d469a807954d0e1745cd8394e45a56788e534f Mon Sep 17 00:00:00 2001 From: Aaron Leventhal Date: Tue, 14 Jan 2020 09:03:16 -0500 Subject: [PATCH 1/4] Resolves issue #60 --- index.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/index.html b/index.html index eb33432..b15d95b 100644 --- a/index.html +++ b/index.html @@ -2574,6 +2574,25 @@

Not Mapped

See also: Name Computation + + aria-description + + Property: accDescription: <value>
+ See also: Name Computation + + + Property: FullDescription: <value>
+ See also: Name Computation + + + Property: Description: <value>
+ See also: Name Computation + + + Property: AXHelp: <value>
+ See also: Name Computation + + aria-details From 2a62358c0053545f600fc2821321bc846559c783 Mon Sep 17 00:00:00 2001 From: Aaron Leventhal Date: Tue, 14 Jan 2020 09:46:12 -0500 Subject: [PATCH 2/4] Add new roles, and group position computation for comment --- index.html | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index b15d95b..7b94df7 100644 --- a/index.html +++ b/index.html @@ -631,6 +631,24 @@

Role Mapping Table

AXSubrole: <nil>
+ + comment + + Role: IA2_ROLE_COMMENT
+ Object Attribute: xml-roles:comment + + + Control Type: Group
+ Localized Control Type: comment
+ + + Role: ROLE_COMMENT
+ Object Attribute: xml-roles:comment + + + AXRole: AXGroup
+ + complementary @@ -1158,6 +1176,23 @@

Role Mapping Table

AXSubrole: AXLandmarkMain
+ + mark + + Role: ROLE_SYSTEM_GROUPING
+ Role: IA2_ROLE_MARK
+ Object Attribute: xml-roles:mark + + + Control Type: Group + + + Role: ROLE_MARK + + + AXRole: AXGroup + + marquee @@ -1825,6 +1860,24 @@

Role Mapping Table

AXSubrole: AXSubscriptStyleGroup
+ + suggestion + + Role: IA2_ROLE_SUGGESTION
+ Object Attribute: xml-roles:suggestion + + + Control Type: Group
+ Localized Control Type: suggestion
+ + + Role: ROLE_SUGGESTION
+ Object Attribute: xml-roles:suggestion + + + AXRole: AXGroup
+ + superscript @@ -3918,10 +3971,10 @@

Implied reverse relations

Group Position

aria-level, aria-posinset, and aria-setsize are all 1-based. When the property is not present or is "0", it indicates the property is not computed or not supported. If any of these properties are specified by the author as either "0" or a negative number, user agents SHOULD use "1" instead.

-

If aria-level is not provided or inherited for an element of role treeitem, user agents implementing IAccessible2 or ATK/AT-SPI MUST compute it by following the explicit or computed RELATION_NODE_CHILD_OF relations.

+

If aria-level is not provided or inherited for an element of role treeitem or comment, user agents implementing IAccessible2 or ATK/AT-SPI MUST compute it by following the explicit or computed RELATION_NODE_CHILD_OF relations.

If aria-posinset and aria-setsize are not provided, user agents MUST compute them as follows:

    -
  • for role="treeitem", walk the tree backward and forward until the explicit or computed level becomes less than the current item's level. Count items only if they are at the same level as the current item.
  • +
  • for role="treeitem" and role="comment", walk the tree backward and forward until the explicit or computed level becomes less than the current item's level. Count items only if they are at the same level as the current item.
  • Otherwise, if the role supports aria-posinset and aria-setsize, process the parent (DOM parent or parent defined by aria-owns), counting items that have the same role.
  • Because these value are 1-based, include the current item in the computation. For aria-posinset, include the current item and other group items if they are before the current item in the DOM. For aria-setsize, add to that the number of items in the same group after the current item in the DOM.
From 8359e50aa4f93e0921375a42e7e21cda4c065a21 Mon Sep 17 00:00:00 2001 From: Aaron Leventhal Date: Tue, 14 Jan 2020 09:53:34 -0500 Subject: [PATCH 3/4] Convert spaces to tabs --- index.html | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/index.html b/index.html index b15d95b..843d559 100644 --- a/index.html +++ b/index.html @@ -2574,25 +2574,25 @@

Not Mapped

See also: Name Computation - - aria-description - - Property: accDescription: <value>
- See also: Name Computation - - - Property: FullDescription: <value>
- See also: Name Computation - - - Property: Description: <value>
- See also: Name Computation - - - Property: AXHelp: <value>
- See also: Name Computation - - + + aria-description + + Property: accDescription: <value>
+ See also: Name Computation + + + Property: FullDescription: <value>
+ See also: Name Computation + + + Property: Description: <value>
+ See also: Name Computation + + + Property: AXHelp: <value>
+ See also: Name Computation + + aria-details From 91c9699b76056f3fe7527e3c2363a22e12eaaf28 Mon Sep 17 00:00:00 2001 From: Aaron Leventhal Date: Tue, 14 Jan 2020 09:54:15 -0500 Subject: [PATCH 4/4] Do not add new roles in this PR --- index.html | 57 ++---------------------------------------------------- 1 file changed, 2 insertions(+), 55 deletions(-) diff --git a/index.html b/index.html index 657b904..843d559 100644 --- a/index.html +++ b/index.html @@ -631,24 +631,6 @@

Role Mapping Table

AXSubrole: <nil>
- - comment - - Role: IA2_ROLE_COMMENT
- Object Attribute: xml-roles:comment - - - Control Type: Group
- Localized Control Type: comment
- - - Role: ROLE_COMMENT
- Object Attribute: xml-roles:comment - - - AXRole: AXGroup
- - complementary @@ -1176,23 +1158,6 @@

Role Mapping Table

AXSubrole: AXLandmarkMain
- - mark - - Role: ROLE_SYSTEM_GROUPING
- Role: IA2_ROLE_MARK
- Object Attribute: xml-roles:mark - - - Control Type: Group - - - Role: ROLE_MARK - - - AXRole: AXGroup - - marquee @@ -1860,24 +1825,6 @@

Role Mapping Table

AXSubrole: AXSubscriptStyleGroup
- - suggestion - - Role: IA2_ROLE_SUGGESTION
- Object Attribute: xml-roles:suggestion - - - Control Type: Group
- Localized Control Type: suggestion
- - - Role: ROLE_SUGGESTION
- Object Attribute: xml-roles:suggestion - - - AXRole: AXGroup
- - superscript @@ -3971,10 +3918,10 @@

Implied reverse relations

Group Position

aria-level, aria-posinset, and aria-setsize are all 1-based. When the property is not present or is "0", it indicates the property is not computed or not supported. If any of these properties are specified by the author as either "0" or a negative number, user agents SHOULD use "1" instead.

-

If aria-level is not provided or inherited for an element of role treeitem or comment, user agents implementing IAccessible2 or ATK/AT-SPI MUST compute it by following the explicit or computed RELATION_NODE_CHILD_OF relations.

+

If aria-level is not provided or inherited for an element of role treeitem, user agents implementing IAccessible2 or ATK/AT-SPI MUST compute it by following the explicit or computed RELATION_NODE_CHILD_OF relations.

If aria-posinset and aria-setsize are not provided, user agents MUST compute them as follows:

    -
  • for role="treeitem" and role="comment", walk the tree backward and forward until the explicit or computed level becomes less than the current item's level. Count items only if they are at the same level as the current item.
  • +
  • for role="treeitem", walk the tree backward and forward until the explicit or computed level becomes less than the current item's level. Count items only if they are at the same level as the current item.
  • Otherwise, if the role supports aria-posinset and aria-setsize, process the parent (DOM parent or parent defined by aria-owns), counting items that have the same role.
  • Because these value are 1-based, include the current item in the computation. For aria-posinset, include the current item and other group items if they are before the current item in the DOM. For aria-setsize, add to that the number of items in the same group after the current item in the DOM.