A anchor tag without "href" is not focusable

This article was published on Apr 30, 2021, and takes less than a minute to read.

If you're trying to test your website tab navigation and the link (anchor tag) is not being focused, it might be the case it's missing href attribute:

<a>I'm not focusable</a>

<a href="/">I'm focusable</a>

In fact, they also have visually different style:

Anchor tag with and without href
Anchor tag with and without href

But this can be a bit tricky when you're using global styles to normalize all anchor styles, no matter its state.