Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML-AAM: align <dl> mappings with ARIA 1.3 associationlist role #8

Closed
jasonkiss opened this issue Oct 12, 2016 · 6 comments
Closed
Assignees

Comments

@jasonkiss
Copy link
Contributor

From @cyns on January 12, 2016 18:42

Consider adding a "term" role to aria? It doesn't seem like the current mapping provides enough info to AT.

Copied from original issue: w3c/aria#148

@jasonkiss
Copy link
Contributor Author

If role=term (ARIA1.1) is confirmed, this could work nicely:

  • <dl>: Seems this is referred to in HTML5.1 as description list instead of definition list. In UIA, this could get localized control type "description list". AX could update its AXSubrole to AXDescriptionList, or at least its AXRoleDescription to "description list". Or we could stick with using "definition list" in both cases.
  • <dt>: Could map to role=term (as could <dfn> for that matter)
  • <dd>: Is already mapped to role=definition

@jasonkiss
Copy link
Contributor Author

Current CORE-AAM mappings for role="term" clearly set it up as a dt type list item, but the description in ARIA spec for role="term" is more general, and doesn't specify list semantics. See ARIA issue #455.

@jasonkiss
Copy link
Contributor Author

dt maps to the term role, and dd to the definition role. Description/definition list semantics and role slated for ARIA 1.2. Renaming and moving to AAM v2.

@jasonkiss jasonkiss changed the title HTML-AAM: mappings for dd, dt, dl seem insuficient HTML-AAM: align <dl> mappings with ARIA 1.2 description/definition list role Jan 24, 2018
@scottaohara
Copy link
Member

ARIA PR #951 was merged, which results in ARIA 1.2 having new roles to map to dl, dt, and dd:
associationlist = dl
associationlistitemkey = dt
associationlistitemvalue = dd

role=term now will only map to HTML's dfn element.
role=definition will not map to an HTML element, but rather by a type of container element to house the definition for a term.

This means that mapping for dt and dd will no longer map to term and definition, but rather the new ARIA roles and dl will map to its new ARIA role. once they are in CORE AAM.

@scottaohara scottaohara assigned scottaohara and unassigned jasonkiss Jul 13, 2019
@scottaohara scottaohara changed the title HTML-AAM: align <dl> mappings with ARIA 1.2 description/definition list role HTML-AAM: align <dl> mappings with ARIA 1.2 associationlist role Oct 5, 2019
@scottaohara scottaohara changed the title HTML-AAM: align <dl> mappings with ARIA 1.2 associationlist role HTML-AAM: align <dl> mappings with ARIA 1.3 associationlist role Dec 6, 2019
@scottaohara
Copy link
Member

associationlist has been pushed to 1.3

but dt and dd should have their WAI-ARIA mappings removed and re-expose the platform mappings, as they're all a bit different, and should not map to what will be term and definition roles.

@scottaohara
Copy link
Member

closing per the newer issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants