DEV Community

sundaycrunk
sundaycrunk

Posted on

Answer: Make an HTML element non-focusable

<a href="http://foo.bar" tabindex="-1">unfocusable</a>

A negative value means that the element should be focusable, but should not be reachable via sequential keyboard navigation.

See also: developer.mozilla.org

Top comments (0)