Description
associationlist
and related roles have tediously long names. These look like ObjC naming conventions: associationlist:item:value:
;-)
associationlist: A section containing associationlistitemkey and associationlistitemvalue elements.
associationlistitemkey: A single key item in an association list.
associationlistitemvalue: A single value item in an association list.
I don't have a particular preference other than "not what's there" but in the interest of forwarding the discussion, I'd suggest the following:
- Remove
associationlist
entirely. I don't think there needs to be any distinction betweenlist
andassociationlist
in the Accessibility APIs. listitemkey
andlistitemvalue
may be sufficient. It's possiblelistitemvalue
could be an alias oflistitem
… I'm not certain, but the existence of a key may be all that's needed to distinguish between standard lists (~html:ol/html:ul
) and these (~html:dl
)
Metadata
Metadata
Assignees
Type
Projects
Status
James Nurthen
Activity
pkra commentedon Dec 16, 2021
Related: #961
smhigley commentedon Dec 16, 2021
+1 to the first option
brennanyoung commentedon Feb 1, 2022
It would simplify matters to permit the key/value roles inside list, whatever they may be called. (I agree the currently suggested names are too long).
What happens if people use key & value elements and plain listitem elements in the same list? Is that a problem?
If this is about parity with HTML, it should not be allowed, but I can imagine cases where it would be useful to do so. (e.g. if there is a placeholder listitem for an as-yet-unknown key-value pair).
pkra commentedon Apr 28, 2022
I'm in favor of the OP.
I have a slight preference for keeping
listitemvalue
(or whatever name we come up with) separate fromlistitem
because of the different (possible) structure of 1 DT followed by multiple DDs.scottaohara commentedon May 5, 2022
@jnurthen going to add myself here as a second assignee. we can discuss / i can do the associated HTML AAM stuffs.
associationlist and related roles have tediously long names
7 remaining items