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
Undefined behavior for Element and FrozenArray<Element> reflecting IDL attributes #978
Comments
@zcorpan I believe this is in whatwg/html#3917 - HTML wanted a usage before merging. |
Yep, what @jnurthen said. Will be working on an implementation in Blink shortly as well. |
OK, nice! That answers my questions. It also makes the association well-defined, such that it would be good to define the ARIA mapping in terms of [[attrAssociatedElement]] and [[attrAssociatedElements]] directly. |
cc @spectranaut |
Moving to ARIA 1.3 because we're removing the element reflection attributes as part of #834. |
Now that HTML spec defines reflection for Element and FrozenArray<Element> attributes (see whatwg/html#7934), we can add back these attributes to ARIA IDL. This is simply a revert of w3c#1260.
This is now defined in the HTML spec: https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#reflecting-content-attributes-in-idl-attributes I've just made a PR to add things back to ARIA spec: #1755 |
Now that HTML spec defines reflection for Element and FrozenArray<Element> attributes (see whatwg/html#7934), we can add back these attributes to ARIA IDL. This is simply a revert of #1260.
Now that HTML spec defines reflection for Element and FrozenArray<Element> attributes (see whatwg/html#7934), we can add back these attributes to ARIA IDL. This is simply a revert of #1260.
HTML does not define any reflection behavior for these types. The getters and setters need to be explicitly defined.
https://w3c.github.io/aria/#AriaAttributes
It's also unclear to me what the setters for the
*Element
or*Elements
IDL attributes should do. What if an ID-less element is assigned? Is the association still made? How? What is the content attribute set to? Or are these supposed to be readonly?The text was updated successfully, but these errors were encountered: