core-aam icon indicating copy to clipboard operation
core-aam copied to clipboard

Determine mappings for associationlist and related roles

Open joanmarie opened this issue 6 years ago • 7 comments

The ARIA Editor's Draft now contains roles for:

  • associationlist (corresponds to HTML dl)
  • associationlistitemkey (corresponds to HTML dt)
  • associationlistitemvalue (corresponds to HTML dd)

Looking at the HTML-AAM, it currently has the following mappings:

  • dl - No corresponding role. Do the dl mappings make sense for associationlist?
  • dt - term ARIA role. It's my assumption that this will change in HTML-AAM. What should the platform mappings be for Core-AAM?
  • dd - definition ARIA role. It's my assumption that this too will change in the HTML-AAM. What should the platform mappings be for Core-AAM?

joanmarie avatar Oct 21 '19 19:10 joanmarie

@cookiecrook - Mac mappings please @jcsteh and/or @asurkov and/or @feerrenrut - IA2 mappings please @boggydigital and/or @melanierichards - UIA mappings please @joanmarie (aka me) - ATK mappings please

joanmarie avatar Oct 21 '19 19:10 joanmarie

My thoughts for IA2:

  • associationlist: ROLE_SYSTEM_LIST, STATE_SYSTEM_READONLY, xml-roles:associationlist
  • associationlistitemkey: ROLE_SYSTEM_LISTITEM, STATE_SYSTEM_READONLY, xml-roles:associationlistitemkey
  • associationlistitemvalue: ROLE_SYSTEM_GROUPING, IA2_ROLE_PARAGRAPH, xml-roles:associationlistitemvalue

jcsteh avatar Oct 22 '19 05:10 jcsteh

Is associationlistitemvalue the record for longest ARIA role? Is there still time to aim for something shorter?

cookiecrook avatar Oct 22 '19 06:10 cookiecrook

FWIW, these new roles worry me. The confusion between these and definition/term is... confusing, it seems like definition doesn't really correspond to anything any more (term ~= HTML dfn but definition ~= what now?), the spec doesn't really explain what an "association list" is, etc.

jcsteh avatar Oct 22 '19 06:10 jcsteh

If dl/dt/dd equivalents are defined in ARIA, the AX API mappings should be the same as the equivalent HTML elements:

element: AXRole/AXSubrole/AXRoleDescription dl: AXList/AXDefinitionList/"definition list" dt: AXGroup/AXTerm/"term" dt: AXGroup/AXDescription/"description"

cookiecrook avatar Oct 22 '19 06:10 cookiecrook

@jcsteh and @cookiecrook : Could you please each open an issue against the ARIA spec for your concerns? If need be we can hold off on including these three roles in the Working Draft branch until 1.3.

joanmarie avatar Oct 22 '19 14:10 joanmarie

Could you please each open an issue against the ARIA spec

Closed the loop earlier but linking here now:

  • https://github.com/w3c/aria/issues/1662

cookiecrook avatar May 08 '23 22:05 cookiecrook