This is an old revision of the document!
Make sure that link and button texts are as explicit as possible. In other words, the function of the link or button must be completely understood just by reading the text.
This text corresponds to the text contained:
<a>
and </a>
tags.<button>
and </button>
tags.<input type=“image” />
.<input type=“button” />
or <input type=“submit” />
.So, rather than “OK” buttons or “Back” links, it is better to use:
<input type="submit" value="Register" /> <a href="basket.html">Return to step 1: "Your basket"</a>
To write explicit texts, you have to imagine that link or button texts are extracted from the page and read without context. Do they remain comprehensible? Do they give an idea of the content of the target page or the action that will be carried out?
When text and images are shown together in the link or button text, the alternate text of the image should be considered as being an integral part of the text.
The following link will therefore be considered as explicit:
<a href="/latest-changes/"> <img src="images/warning-pictogram.png" alt="Warning: " title="Warning!" /> Make sure you take into account the latest changes to Canelis before use. </a>
Links and buttons must never be empty and must always have a text.