Annotating UI components and their parts with role patterns to succinctly composite behaviors and accessibility reusable across a library and code generators supporting it.
nathanacurtis.substack.com/p/component-...
www.specsplugin.com/roles/invent...
nathanacurtis.substack.com
Component and Part Roles as Composites of Behavior and Accessibility
Declare what an element is once so that every platform knows how it behaves