When adding images to the content of your website, it is important to include alt text (alternative text) along with each of your images. The alt tag is an HTML standard which can be used to indentify the content or function of an image. alt image tags serve two very important purposes: Providing accessibility to the visually impaired (who are using a screen-reader), and enabling Search Engines to identify the purpose or content of the image.
Since Search Engines cannot “see” what is in an image on your site, the alt tag becomes essential in identifying your image content. When used properly they can increase your Search Engine Optimization. Note that improper use of alt text can sometimes hurt your SEO, as alt tags have been abused in the past in an attempt to artificially boost site ranking. An HTML alt image tag looks similar to the below:
<img alt="Example Alt Text for an Image" src="images/imagename.jpg">
Below are the guidelines to consider when creating alt text:
- Write text that sufficiently describes the image so that it could theoretically “replace” the image on your page. Use full sentences, not short phrases separated by commas.
- If the image is purely decorative and does not convey any message relevant to the page content, include an empty alt tag: alt=”.
- If your image contains large amounts of text (such as an image of a scanned letter), include the actual text of the image as the alt Text. In addition, if the image consists purely of text, consider replacing the image altogther with just text.
- If the image is also a hyperlink to another page, include a short description of the content of the page, or the Page Title, to which it links.
- Include keywords in your text that reflect the content of the image and the content of the page.
- Do not “stuff” your alt text with keywords. This tactic has been abused in the past and could reduce your Search Engine Ranking. For example, if including alt text for an image of a puppy playing with a ball, using alt=”puppy dog ball black dachshund dogfood fetch catch german shepherd retriever collie mutt dogcollar” is not recommended. Instead, use a descriptive sentence that includes the most important keywords, such as alt=”A puppy playing fetch with a ball”.
- Make sure the alt text is relevant to the written content directly surrounding the image. It is also good practice to insert the image in a location close to the relevant text – as it helps Search Engines place the image in context. For instance, don’t insert an image of a puppy at bottom of your page when the text about the puppy is at the top of the page.
Adding an Alt Tag to an Image
-
When editing a page, in the Content Editor, click the Image Manager icon.
Tip: If you wish to add or edit the alt text of an image already added to your content, first click the image in the Content Editor, then click the Image Manager icon.
- In the Image Manager Window, select the image you would like to add to the page.
- Click the Properties tab.
-
In the image preview box, enter the desired alt text into the Alt Text field.
- Click Insert to insert the image including the alt text.
Adding Alt Text using HTML
If you prefer to add alt text to an existing image using the HTML edit mode, click the HTML icon at the bottom left of the Content Editor. Locate the HTML for the existing image, which will look similar to the below:
<img src="images/imagename.jpg">
Add the alt text to the image code in the form alt=”Example Alt Text for an Image” (placing your own text between the quotes), so the end result will look similar to the below:
<img alt="Example Alt Text for an Image" src="images/imagename.jpg">