Use of the title Attribute

I try to keep up with accessibility issues so that the content I provide is always as friendly as possible. With this in mind, I’ve used the title attribute for links and wherever else it might be needed for many years now. At one time, the title attribute was actually mandated to make pages accessible by organizations such as the World Wide Web Consortium (W3C). The attribute also makes an appearance in a number of my books, such as Accessibility for Everybody: Understanding the Section 508 Accessibility Requirements with full documentation as to the benefits of using it.

However, today I find myself having to take a new direction and actually tell people not to use the title attribute because it could potentially make pages less accessible. Part of the reason that the title attribute isn’t used anymore is that some people became confused about it and started using it for Search Engine Optimization (SEO) uses and that was never the point. A lack of browser support and all sorts of other issues added to the demise of the title attribute as a useful link feature. The point is that there is a reason for the title attribute, but no one was using it and people with special accessibility needs found ways around it. At one point, the screen readers I used actually did make use of the title attribute, but newer screen readers don’t. In fact, the new approach is to ensure that links contain enough text to ensure someone with a screen reader knows what they mean. It’s a situation where a specific programming technique didn’t get the job done so another technique is now in use—one that seems more natural and that people are actually using.

So, what cued me into the fact that the title attribute is no longer particularly useful? Well, I use WordPress to create blog posts and noted recently that they had removed the title attribute from the dialog box for creating links. For a while I was adding the title attribute in by hand because I really did feel I was making the page more accessible. However, after talking with a friend about the issue and experimenting with the latest screen readers myself, I find that the title attribute is one of those “also ran” features that simply doesn’t see use often enough to make it worthwhile using. The new strategy is to ensure you provide enough text as part of your link to ensure the link is clear all by itself (even if you need to hide part of that text from view). If you have a copy of one of my books that espouses the use of the title attribute, make sure you change your practice to match what the rest of the world is doing today. Let me know if you have any questions about the use of the title attribute at John@JohnMuellerBooks.com.

 

Author: John

John Mueller is a freelance author and technical editor. He has writing in his blood, having produced 99 books and over 600 articles to date. The topics range from networking to artificial intelligence and from database management to heads-down programming. Some of his current books include a Web security book, discussions of how to manage big data using data science, a Windows command -line reference, and a book that shows how to build your own custom PC. His technical editing skills have helped over more than 67 authors refine the content of their manuscripts. John has provided technical editing services to both Data Based Advisor and Coast Compute magazines. He has also contributed articles to magazines such as Software Quality Connection, DevSource, InformIT, SQL Server Professional, Visual C++ Developer, Hard Core Visual Basic, asp.netPRO, Software Test and Performance, and Visual Basic Developer. Be sure to read John’s blog at http://blog.johnmuellerbooks.com/.

When John isn’t working at the computer, you can find him outside in the garden, cutting wood, or generally enjoying nature. John also likes making wine and knitting. When not occupied with anything else, he makes glycerin soap and candles, which comes in handy for gift baskets. You can reach John on the Internet at John@JohnMuellerBooks.com. John is also setting up a website at http://www.johnmuellerbooks.com/. Feel free to take a look and make suggestions on how he can improve it.