Techniques for WCAG 2.0

Skip to Content (Press Enter)

-

H33: Supplementing link text with the title attribute

Important Information about Techniques

See Success Criterion 2.4.4 (Link Purpose (In Context))

  • Success Criterion 2.4.9 (Link Purpose (Link Only))
  • User Agent and Assistive Technology Support Notes

    See User Agent Support Notes for H33.

    Description

    The objective of this technique is to demonstrate how to use a title attribute on an anchor element to provide additional text describing a link. The title attribute is used to provide additional information to help clarify or further describe the purpose of a link. If the supplementary information provided through the title attribute is something the user should know before following the link, such as a warning, then it should be provided in the link text rather than in the title attribute.

    Because of the extensive user agent limitations in supporting access to the title attribute, authors should use caution in applying this technique. For this reason, it is preferred that the author use technique C7: Using CSS to hide a portion of the link text (CSS) or

    Resources

    Resources are for information purposes only, no endorsement implied.

    Tests

    Procedure

    Examine the source code for anchor elements.

    1. For each anchor element that has a title attribute, check that the title attribute together with the link text describes the purpose of the link.

    Expected Results

    If this is a sufficient technique for a success criterion, failing this test procedure does not necessarily mean that the success criterion has not been satisfied in some other way, only that this technique has not been successfully implemented and can not be used to claim conformance.

    Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

    Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant