-
Notifications
You must be signed in to change notification settings - Fork 127
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
Editorial: Point to "element reference attribute" definitions in HTML for IDREF attributes #2474
base: main
Are you sure you want to change the base?
Editorial: Point to "element reference attribute" definitions in HTML for IDREF attributes #2474
Conversation
…erences attribute' in Mapping WAI-ARIA Value types to languages table
✅ Deploy Preview for wai-aria ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thank you @dandclark! In addition to the changes you proposed in alignment with HTML, I'm curious if there needs to be more extensive changes where the ARIA spec references "ID reference" (now "single element reference") and "ID reference list" (now "set of element references"). Other places where id reference and id reference list are mentioned include the "Values" table for ARIA attributes, the "Identifies" relationship definition in Important Terms, section 6.2.4 Value defining Characteristics of States and Properties and 8.6.1 ID Reference Error Processing in State and Property Attribute Processing. Questions for the ARIA WG:
|
I think this is unrelated to this particular PR, but I also think it's a good question. The AAMs use "IDREF" language (example) which is inconsistent with ARIA's use of "id reference"/"id reference list". Since ARIA is host language agnostic, we don't need to use the HTML terms... and possibly we shouldn't, and we should just stick to "id reference" and "single element reference", but I'd like to hear why if you think we should change, Rahim! |
I think it would make sense to at least name the WAI-ARIA type in a way that doesn't limit it to ID association, yeah. This was already an issue once the IDL attributes which take an I think it might also make sense to add a section discussing (whatever name you decide) attributes under the ARIA Attributes with more information about how these attributes are interpreted, possibly defining a concept like refers to or attr-associated element(s), which could be referred to from the AAMs. Currently, for example, the Core-AAM guidance for
I think we might want something like
OR
but, again, not necessarily using the HTML terminology; either way, where the term is defined in the ARIA spec and mapped out to host languages much like the attribute types are. |
@spectranaut Agreed, except in the case when references point to a
@alice I've raised a new issue to investigate this so as to unblock this PR. Thanks!
Added to an upcoming ARIA WG agenda for discussion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @dandclark.
whatwg/html#10995 adds definitions for "single element reference" and "set of element references" attributes, formalizing the concept of attributes that reference other elements via ID.
In this change, update the "Mapping WAI-ARIA Value types to languages" to use these new definitions for "ID Reference" and "ID Reference List" attributes.
This whole section is non-normative.
Preview | Diff