Ready for Trial: Element Reflection

105 views
Skip to first unread message

Alice Boxhall

unread,
Feb 15, 2021, 12:44:06 AM2/15/21
to blink-dev

Contact emails

mere...@chromium.orgabox...@chromium.org, chri...@chromium.org

Explainer


https://github.com/WICG/aom/blob/gh-pages/explainer.md#reflecting-element-references

Specification

https://whatpr.org/html/3917/common-dom-interfaces.html#reflecting-content-attributes-in-idl-attributes:element

Design docs


https://docs.google.com/document/d/e/2PACX-1vQnYgAdxwEBfa8tLhF9u-JmrZwZqeptPHZszpoBhbAQ008cFdV3aZfgmd3EuowvQ09DNazhkdPNY1jz/pub 

Summary

This feature allows for ARIA relationship attributes to be reflected in IDL as element references rather than DOMStrings.


Blink component

Blink>DOM

TAG review

https://github.com/w3ctag/design-reviews/issues/134

TAG review status

Complete

Risks



Interoperability and Compatibility

Other browser vendors have been actively involved in shaping the API, and are present on the pull request thread, and supportive of the general idea. None have begun implementation. This initial implementation only affects a small set of ARIA attributes, so should be easily implementable in other browsers.


Gecko: No signal

WebKit: Neutral Representatives from WebKit have been actively participating in design discussions, but are waiting for developer feedback.

Web developers: No signals. Hoping to learn more from developers via a trial.

Ergonomics

This feature is being implemented on the AriaAttributes interface mixin, and rolled out as part of AOM Phase 1.



Activation

This feature is not completely polyfillable; ID references across shadow root boundaries are not possible to implement on top of existing APIs.



Goals for experimentation


Learn whether this helps developers use ARIA IDREF type attributes; particularly Custom Element authors using Shadow DOM.


Debuggability

In the short term, developers can use console.log to access the value for IDL attributes set via this API. Longer term, these attributes would be reflected in the Accessibility pane in the Elements panel.



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes

Is this feature fully tested by web-platform-tests?

Yes

Tracking bug

https://crbug.com/981423

Link to entry on the Chrome Platform Status

https://www.chromestatus.com/feature/6244885579431936

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages