Semantics make accessibility resilient across interfaces
Accessible interfaces begin with meaning that software can interpret, not visual resemblance alone.
Native elements expose roles, names, states, and relationships through browser accessibility APIs with established behavior.
W3C accessibility principles explain how content, browsers, assistive technologies, and authoring tools depend upon this shared information.
ARIA can supplement missing semantics, but it does not add keyboard behavior, focus management, or reliable interaction automatically.
When keyboard operation exposes assumptions, purposeful alternatives preserve meaning across diverse interfaces.
Semantic structure also supports headings, form labels, landmarks, adaptable presentation, and clearer automated diagnostics.
Custom controls remain justified when native elements cannot express required behavior, provided their complete interaction contract is implemented and tested.
Choose the strongest native semantic foundation first, then add ARIA only for information HTML cannot express.