(Hey, we're having problems showing images in RSS right now, so if you want a better reading experience, consider viewing this article online [here](https://zellwk.com//blog/element-focus-vs-aria-activedescendant. We hope to fix this soon!). 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
![Element.focus vs aria-activedescendant | Zell Liew](https://cdn-ak-scissors.b.st-hatena.com/image/square/a7ef6df7c4c435e7a74e4896028af4b511371356/height=288;version=1;width=512/https%3A%2F%2Fzellwk.com%2Fimages%2Fzell%2Fzell-profile-pic.jpg)