DEV Community

Discussion on: The #1 Trick In Learning React That Separates Success From Failure

Collapse
johnhorner profile image
John Horner

To be honest, I've used it literally thousands of times, on links. Used on a link it provided a kind of tooltip—the equivalent of the alt attribute on images. However from HTML5 onward it's deprecated because of accessibility issues.

This article lays out the cases where it should and shouldn't be used:

developer.paciellogroup.com/blog/2...

but it's never been invalid HTML.

Some comments have been hidden by the post's author - find out more