The "alt" tag in HTML refers to the "alternate text" for an image, used in case the image cannot be displayed. The image below contains alt text.
In order to view alt text in a normal browser, such as Firefox, Internet Explorer or Google Chrome, you can typically either hover over it or right-click to see the properties of the image. (In Firefox, the alt text on an image will show up under "View Image Info."
For someone using a screen reader, which is a software program that reads webpages aloud to someone with sight difficulties, the alt text of an image will be read. If there is no alt text the image will be skipped.
In order to add alt text to an image in Blogger, first add your image to your blog post as normal, or edit a post containing images. Next, click on the image while you are in the editing screen. You will see several options pop up under your cursor.
While it may appear that you should click "Caption," you should actually click "Properties." Clicking "Caption" will allow you to add text visible under the image, and while this would be read by a screen reader, it might not be clear that the caption belongs to an image.
Clicking "Properties," you will see this dialog box:
I would suggest typing the same text into both boxes so that your description can serve as both the title text of the image and the alt text. Then click "OK" and you are finished.
You can also edit the alt text by going into Blogger's HTML editing mode. Inside of the image tag, add "alt=your text here," like so:
<img src="mycats.png" alt="My cats, Isis and Sneakers">The Blogger-generated code may look more complicated than this, but that's all there is to it.
The American Foundation for the Blind has several suggestions on their website for how to write effective alt text.
Alt text will also show up when using Pinterest to pin from websites, which makes it doubly useful.
Thank you for your helpful explanation. I have been guilty of leaving off the alt text on my own posts in my rush to make them live. I will change my ways in the spirit of accessibility for all.
ReplyDeleteSarah
Thank you Sarah! In honesty I have left off alt text on my blog posts before - I'm going to go back and add it. That's one thing about this project - I've learned so much!
DeleteMost people dont realize that these tags are very important. Great post.
ReplyDeletehow to add alt tags to images in bloggger
I never thought that adding alt text to image was that so easy. I just ignored that properties button all the time.
ReplyDelete