Accessibility·Advanced·Conceptual·1 min read
Why is aria-activedescendant sometimes used instead of moving actual DOM focus in a composite widget?
Short interview answer
It lets a single focusable container, like a combobox input, retain real DOM focus while announcing a different descendant as the active option, which can be simpler to manage than moving focus between many individual option elements.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.