Skip to main content

Jim Byrne Accessible Website Design Glasgow for The Third Sector, Voluntary, Charities and Not for Profits

Accessible, Responsive Website Design
Jim Byrne Web Designer

Add alt attributes to decorative images

Published: August 19, 2014

Always add an empty alt attribute to every spacer or decorative image you use in your website, i.e. <img src=”spacer.gif” alt=””>.

If spacer or decorative images have no alt attributes, those browsing with images off, or with text browsers, will either see or hear the file name, or the text ‘[image]’, for each image lacking an alt attribute.

Let's Chat

07810 098 119

Alternative access to client feedback

“The audit was extremely comprehensive, clear and demonstrated Jim’s expertise in the area of accessible web design.” Peter Madden, Project Manager, Sealed Envelope Ltd