5.3. Don’t use the aria-label or title attributes on links and buttons that are already explicit
A link or button is explicit when the label alone and/or the context suffice to describe its destination or function.
For example:
- The link “AcceDe Web Project” is explicit by nature.
- So is a button labelled “Confirm my order”.
The aria-label attribute (which can be used to make non-explicit links accessible) and the title attribute must not be used for this type of link.
Here are some examples of incorrect use of the aria-label attribute on an <button> tag:
<button aria-label="">Confirm my order</button>
<button aria-label="Validate my order">Confirm my order</button>
And here are some examples of incorrect use of the title attribute on an <a> tag:
<a href="…" title="">AcceDe Web project</a>
<a href="…" title="AcceDe Web">AcceDe Web project</a>
2 comments
-
I have a question: if a website has a home link in the primary navigation but also has a home link on the main logo, should the logo/link have an aria label?
-
Hello Gideon,
Since the logo is included in a link, it should have an accessible name, even if this information is already given within the same page. The accessible name can be an
aria-labelon the link, or just filling thealtattribute of theimg(if your logo uses animgtag).Regards,
Romain
-
Leave a Reply
Updates
- 28 October 2025
- Adjusting code example.