Re: [WICG/webcomponents] Add delegatesLabel and a content attribute to specify the label element within a shadow tree (#916)

This appears to satisfy all of the use cases I can think of. 

However, I anticipate matters of progressive enhancement/graceful degradation will restrict usage. Implementations in user agents without support for `delegatesLabel` would need to fall back to the host element's semantics and focus behavior or swap implementations behind a `supports: 'delegatesLabel'`-style query. For example, the degraded "date input" widget could accomplish all of the same behavior with `:focus-within` on a `role=group` in place of the `input type=date`.

APA should track progress and prepare a note to update heuristics such as "no interactive content descendant". See [Allowed ARIA roles, states and properties](https://w3c.github.io/html-aria/#allowed-aria-roles-states-and-properties). 

Validators, such as validator.w3.org, may need extensive updates to address new element compositions. If user agent and AT implementations object to specific combinations of nested rules (e.g., button > button), implementors could create many accessibility issues unknowingly.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/916#issuecomment-824436368

Received on Wednesday, 21 April 2021 23:49:14 UTC