Element.focus vs aria-activedescendant

This bookmark was published on .

When you build JavaScript components, you need to manage focus for both keyboard users and screen readers. The WAI-ARIA specs say there are two ways to manage focus