What
The title attribute on a website link is an optional HTML attribute that provides additional information or context about the linked resource. Similar in some respects to the tool tip (See Tooltip v title).
Why
- Enhances clarity: Titles can clarify the link's destination, especially for generic anchor text like "click here" or when multiple links appear closely together.
- Improve accessibility: Screen readers and assistive technologies use the title to announce the link's purpose, ensuring users with disabilities understand the destination and how the link will function and what orientation before clicking.
- Boost SEO: While search engines directly use link text for ranking, the title attribute can indirectly contribute by providing relevant keywords and additional context.
How
The title follows on from the opening anchor tag (<a href="">) using the format title="text".
Keep the text concise and descriptive, ideally 50-60 characters or less.
Use natural language and avoid technical jargon.