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

How is an accessible name calculated?

Short interview answer

The algorithm considers sources such as aria-labelledby, aria-label, associated labels, element content, and host-language rules in a defined order. Adding multiple names does not concatenate them arbitrarily; inspect the computed accessibility properties.

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