HTML·Intermediate·Conceptual·1 min read
When should ARIA be added?
Short interview answer
Prefer a native element with the required semantics and behavior. Add ARIA when a necessary state or relationship cannot be expressed natively, following an established interaction pattern. ARIA changes accessibility semantics; it does not add keyboard behavior.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.