Skip to content

semanticsAndTags

disposition: bound, direction: spec-to-code, basis: implementation

An anatomy rule of the Web Components binding. The element types named below resolve jointly here — which type a node becomes, or what tag and semantics an element takes, is decided by this rule rather than per type.

Keys. text, container

Operands

Every fact the rule reads. Nothing outside this set participates.

OperandFrom
element.typespec document
element.rolespec anatomy (ADR-067)
conventions.specs.statesdeclared conventions, through the shared concept table

Tag cases

Ordered — first match wins.

#WhenEmitsWhy
1element.role presentthe role's tag, inside the shadow treeA role names a control the platform has a native element for
2element.type = textspanText is phrasing content
3element.type presentdivThe structural default — no phrasing-context arm here; the shadow tree starts its own content model

ARIA cases

Ordered — first match wins.

#WhenEmitsWhy
1concept = claimed by this element's rolenothing from the generic path — the role emits the platform-native mechanismRole over states for the mechanism, from the same shared module as React
2concept.prop = shared with a concept the role claimednothingOne prop cannot announce two ways at once
3concept presentthe concept's aria attribute inside the shadow tree, when the driving prop is setThe generic path; selection attributes land on :host while a role’s attributes land in the shadow tree

Otherwise

the default tag, no ARIA — An element with no role and no state entry keeps the pre-roles behavior

Event-handler composition is expected to mirror the React binding’s handlerCases through the shared events model, and instance role routing the same — both left undeclared here until confirmed against this emitter. The precedence module is shared, so suppression cannot diverge.