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

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.

Related content

Written by :

Avatar of JamesByrne

Give me a phone if you would like me to test the accessibility of your website:

I provided feedback on the WCAG 2, have two decades of experience and worked with hundreds of organisations.

07810 098 119

Alternative access to client feedback ››

Client Quotes

Loading Quotes...