Contact emails
abox...@chromium.org, mere...@chromium.org, dom...@chromium.org, tk...@chromium.org, rak...@chromium.org
Explainer
Spec
Specification: https://github.com/whatwg/html/pull/4658
TAG review: https://github.com/w3ctag/design-reviews/issues/401
Summary
With this feature, custom element authors can use ElementInternals to set a custom element's default accessibility role, states, and properties, much like the default accessibility semantics for native elements.
See also Intent to Ship for ARIA Attribute Reflection for Elements.
Note that we aren’t shipping relationship properties (ariaActiveDescendantElement, ariaLabelledByElements, etc.) because the spec for those properties on Element is not finalized yet (as explained in the Intent to Ship for ARIA Attribute Reflection for Elements), and we don't want to add capabilities to ElementInternals before adding them to Element. Instead, we will separately ship the relationship properties on both Element (for built-in elements) and ElementInternals (for custom elements) later on.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/b-cGz9c67pM/0zvBzjhrAAAJ
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Risks
Interoperability and Compatibility
In past discussions at web components F2F meetings, other browser vendors have been supportive of the general idea. Several representatives from other browsers are also present on the pull request thread. However, none of them have given clear signals about this specific API proposal.
In general, the feature is quite small and should be easily implementable in other browsers.
Firefox: No public signals
Edge: No public signals
Safari: No public signals
Web developers: Some positive response to the I2I
Ergonomics
This feature is built on top of the ElementInternals API.
Activation
The API is the same as ARIA properties, but instead of modifying/getting the properties on the Element directly, the web developer would do it on ElementInternals.
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
Yes, https://wpt.fyi/results/custom-elements/form-associated/ElementInternals-accessibility.html
Entry on the feature dashboard
LGTM1
More attention from other vendors would have been nice so, but I see no objections and I imagine it's mostly just a question of time and resources.
/Daniel
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACPC1r6OcPq1w6g3yE%3DBdKP9pc5xJvQuXcOzAZk_-Kv9%3D%2B7DOw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/918e9811-0eaa-4f21-a4d6-728bba09b0de%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CH2PR13MB34327BB834A45E664F389E7CDF630%40CH2PR13MB3432.namprd13.prod.outlook.com.