Skip to content
Accessibility·Advanced·Conceptual·1 min read

How do aria-labelledby and aria-label differ?

Short interview answer

aria-labelledby references existing element text and generally has naming precedence, while aria-label supplies a string directly when no suitable visible label exists.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Accessibility tree

Related questions