w3c / html-aria

ARIA in HTML
https://w3c.github.io/html-aria/
Other
181 stars 48 forks source link

update custom element #180

Closed scottaohara closed 3 years ago

scottaohara commented 4 years ago

Per: HTML issue 4658 and ARIA issue #984 it should be noted that a custom element may have no corresponding role (map to generic) or may have a role set by ElementInternals.

If the role is set in that way, and the custom element doesn't merely act as a container for child elements (light or shadow dom) with their own roles, then the listing for the custom element would need to indicate that it either maps to generic, OR the role set by ElementInternals.

In that case, the allowed state/properties/naming/etc. would be dependent on the role the element represents.