I do this automatically when designing and developing websites without really thinking about it. I know it’s good practice and makes focus obvious.
I needed some rationale on why I do this exactly. Thankfully I found this article. I think you explain it very well and the example of how different browsers render focus is perfect!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.