Skip to content

Should rules about link's name (b20e66, 5effbb, aizyf1, fd3a94) consider the title attribute? #1766

@Jym77

Description

@Jym77

As per Technique H33, the title attribute on links may be considered together with the name when assessing if it's correctly described:

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.

Considering, notably, Links with identical accessible names have equivalent purpose (which is likely the easiest to build example with 😄 ), I understand that:

<a href="foo" title="Read more about foo">Read more</a>
<a href="bar" title="Read more about bar">Read more</a>

which is failing the rule (same accessible name of Read more, different destination) is maybe not failing the SC because name+title is good enough for H33.

H33 does however have a caveat about title:

Because of the extensive user agent limitations in supporting access to the title attribute, authors should use caution in applying this technique.


Should we

  • Do nothing
  • Add a note saying that we do not consider title because it has poor support (would need some research)
  • Updates rules to consider name+title instead of just name

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions