Health and Safety
Executive / Commission
Styleguide
For reasons of accessibility, usability and Search Engine Optimisation link text should be descriptive of the page the link goes to. Acceptable practice includes:
* This link is OK if used within the agricultural site. If you are somewhere else on the website, for example, a press release it would be better to say Agricultural publicity events.
A special style we have developed to improve the accessibility of a page without detracting from its usability is to hide text from sighted users, who can see the text within context but to show it to screen reader users, who cannot.
Code:
<a href="link"><span class="hide">Agricultural </span>Publicity events</a>
The sighted users sees: Agricultural Publicity events. While the sreen reader user gets Agricultural Publicity events.
Link styles will vary depending on their whereabouts in the page.
In these examples file size and image are included in the link. This informs Screen Reader users that they are being taken to a document in another format, and informing them what that format is and how big it is.
Javascript is used to open the link in a new window and adds the title " (opens in a new window)". If you add your own title the two are appended and read something like "My title (opens in a new window)" Compare the two links above, the second has a title added.
Links in the text are always underlined for clarity
Next: Using highlights
Note link to newsfeed above, using p class="rss"
"Hot topics" requires a specific CSS to be loaded, and in a particular way - view source for details.
You will probably also need to create an icon and alter the CSS.