Receive My Best Weekly Health Tips, Recipes, and More!
Every week I send my subscribers a newsletter where I share one tried and tested Health Tip that you can use immediately to improve your health. Click "Subscribe!" to Join Now!

Writing Effective Alt Textual content For Pictures

Anyone who knows anything about web accessibility sees that images want alternative, or ALT, text assigned to them. The reason is screen readers can’t understand images, but instead read out loud the alternative textual content assigned to them. In Internet Explorer we can see this ALT text, by just mousing in the image and looking at the red tooltip that appears. Other browsers (correctly) don’t do that. The HTML for applying ALT text message is:

But certainly there can’t be a skill to writing ALT text for the purpose of images? You only pop an outline in there and you’re ready to go, right? Well, kind of. Sure, it’s not really rocket scientific discipline, but there are some guidelines you must follow…

Spacer images and lacking ALT textual content

Spacer images should be assigned null ALT textual content, or alt=””. This way the majority of screen readers will totally ignore the impression and planning to even announce its existence. Spacer images are hidden images that pretty most websites employ. The purpose of all of them is, since the brand suggests, to develop space for the page. At times it’s impossible to create the visual screen you need, so you can stick an image in (specifying its level and width) and voli’, you have the extra space you require.

Certainly not everyone uses this null ALT textual content for spacer images. A lot of websites attach alt=”spacer image”. Imagine how annoying this really is for a display screen reader consumer, especially when you may have ten of them in a row. A screen reader may say, “Image, spacer image” ten intervals in a line (screen readers usually say the word, “Image”, before examining out it is ALT text) – given that isn’t useful!

Various other web developers simply leave out the ALT aspect for spacer images (and perhaps other images). In such a case, most screen readers will certainly read out the filename, which may be ‘newsite/images/’. A display reader will announce this kind of image while “Image, media site cut images cut one -pixel spacer appear in gif”. Think of what this will sound like in the event that there were ten of these within a row!

Bullets and icons

Bullets and icons need to be treated in much the same approach as spacer images, thus should be assigned null alternative text, or alt=””. Look at a list of products with a complicated bullet carrying on each item. If ALT text, ‘Bullet’ is designated to each image then, “Image, bullet” will probably be read aloud by screen readers before each list item, rendering it take that bit for a longer time to work through record.

Icons, usually accustomed to complement links, should also always be assigned alt=””. Many websites, which place the icon next towards the link text message, use the hyperlink text seeing that the ALT text belonging to the icon. Display readers would definitely first declare this ALT text, and next the link text message, so may then say the link two times, which naturally isn’t required.

(Ideally, bullets and icons should be called up as background images through the CSS document – this would take them off from the HTML CODE document totally and therefore take away the need for virtually any ALT information. )

Decorative photos

Ornamental images too should be assigned null choice text, or alt=””. In the event that an image is normally pure eye lids candy, in that case there’s no requirement of a screen reader individual to actually know really there and being knowledgeable of the presence just adds to the noise pollution.

More over, you could believe the images on your site build a brand info and by covering them by screen target audience users to get denying this group of users the same experience. Accessibility pros tend to prefer the former case, but presently there certainly can be described as valid advantages of the latter too.

Sat nav & textual content embedded within images

Navigation menus that require elegant text be forced to embed the written text within an graphic. In this situation, the ALT text really should not used to improve on the photo. Under no circumstances if the ALT text say, ‘Read all about our fantastic products and services, designed to help you in everything you do’. If the menu item says, ‘Services’ then the ALT textual content should also claim ‘Services ALT text must always describe the content of the photograph and should duplicate the text word-for-word. If you want to expand for the navigation, including in this case in point, you can use the title attribute.

The same applies for your other textual content embedded inside an image. The ALT text should simply repeat, word-for-word, the text contained within that image.

(Unless the font being used is especially exceptional it’s often unneeded to add text inside images — advanced nav and qualifications effects can now be achieved with CSS. )


Websites tend to vary in the way they apply ALT text to logos. Some say, Company name, others Business name logo, and also other describe the function for the image (usually a link returning to the homepage),? Back to home’. Remember, ALT text should describe this of the photo so the initially example, alt=”Company name”, is probably the best. In the event the logo is known as a link back for the homepage, afterward this can be effectively communicated through the title label.

Bottom line

Writing effective ALT text merely too complex. If it’s a decorative image therefore null solution text, or perhaps alt=”” should usually be taken – never, ever leave out the ALT attribute. If the image contains text the ALT textual content should merely repeat this textual content, word-for-word. Bear in mind, ALT text should summarize the content on the image certainly nothing more.

Do end up being sure as well to keep ALT text since short and succinct as possible. Listening to a web page with a screen reader takes a great deal longer than traditional methods, so tend make the searching experience irritating to screen reader users with bloated and unnecessary ALT text. Click here for more:

Receive My Best Weekly Health Tips, Recipes, and More!
Every week I send my subscribers a newsletter where I share one tried and tested Health Tip that you can use immediately to improve your health. Click "Subscribe!" to Join Now!

Leave a Comment