开发者

Is the title attribute for links required for 508 compliance?

开发者 https://www.devze.com 2023-03-06 06:38 出处:网络
Is the title attribute for links required for 508 compliance or does the text 开发者_如何学Cin the link suffice?

Is the title attribute for links required for 508 compliance or does the text 开发者_如何学Cin the link suffice?

Thanks!


508 Standards, Section 1194.22 (a) states that:

A text equivalent for every non-text element shall be provided

A link is a text element.


The current Section 508 standards don't include any explicit requirements related to links.

An update of these standards is in the works, and may align the standards with WCAG 2.0. WCAG 2.0 simply requires that the purpose of each link be clear to users.

The best way to make a link's purpose clear is via meaningful link text. It's ok to supplement link text with a title attribute if doing so adds clarity, but it's not required, and the information in the title attribute should not be essential because if link text and a title attribute are both present, screen readers typically read the text by default and ignore the title.

There's additional information from the W3C at Understanding SC 2.4.4 (Link Purpose) and H33: Supplementing link text with the title attribute.


This seems to be the latest word on accessibility & title attributes for links:

Examples of title attribute use that are NOT USEFUL or are of LIMITED USE:

For additional information not provided as text in a link or surrounding content:

  • <a href="newsletter.PDF" title="PDF file, size 1 mb.">newsletter</a>

  • Instead include such information as part of the link text or next to the link.

0

精彩评论

暂无评论...
验证码 换一张
取 消