Welcome Guest!
Please login
If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:
- Receive Fast Advice
- Learn Programming Languages
- Get Professional Website Reviews
- Quick Troubleshooting Assistance
|
|
Alt Text For Images
This is a discussion on Alt Text For Images, within the Accessibility and Usability section. This forum and the thread "Alt Text For Images" are both part of the Designing Your Website category.
![]() ![]() |
Apr 1 2008, 12:20 PM
Post
#1
|
|
|
Squeezing ![]() ![]() ![]() Posts: 72 Joined: 16-February 08 |
Some considerations:
The alt attribute for the img element is often ignored or misused. If it is omitted, the page will fail validation using current Doctypes. If it is "bypassed" using "" it will not be of much use to People with Disabilities or visitors employing text-only Browsers or audio screen readers. If you are having trouble visualizing what alternate text is needed try this: imagine you are blind and using a reader/interpreter such as JAWS; or have impaired vision and are using a text-only Browser such as Lynx with enlarged text selection and images turned off; or have a disability that requires use of an audio screen reader. Each time an audio output screen reader comes to an image it will announce "image" and then read the alternate text aloud -- if there is none there will just be a silent pause. If it is a text-only Browser (some sighted Web visitors use them for speed of browsing) the alternate text will display for each image -- if there is no alternate text there will just be a blank space (or ""). As you compose the alternate text for an image imagine the questions one of the above described visitors may have about the image: What does it depict? Why is the Web author using it? what kind of image is it? (examples): It is not much use to employ alternate text such as "[picture]" far better to use something like "[photograph of the house I grew up in]" --- not much use to employ "[icon]" far better to use, for example, "[W3C XHTML Validation icon]" -- not much use to employ "[ad gif]" better to say ["animated gif representing the CDs I offer here]" .......... and so on. Several years ago I was the Senior Technical Advisor (volunteer) for Access World Design and Development, Inc. -- a non-profit organization dedicated to the training and employment of the disabled in accessible Web page authoring. Most members were severely disabled (Deafblind or with respirator dependent Duchenne Muscular Dystrophy) who we trained to become independently proficient Web page authors. It was a most rewarding experience and I remain committed to Web Content Acessibility to this day. It was fashionable at that time to enclose alt text in [square brackets] so that it would be readily discernable in Lynx and screen readers. I still identify my alt text this way. James -------------------- Interoperable Web Pages - Always with validated HTML/XHTML/XHTML+RDFa, CSS, RDF, XML, RSS
Elegant Italic Handwriting - Roman Coins of the London Mint - WW2 Air Raids, V1s & Aircraft crashes |
|
|
Apr 1 2008, 02:40 PM
Post
#2
|
|
|
Master of the Universe ![]() Posts: 1,298 Joined: 15-February 08 From: London, England |
I agree with you completely.
-------------------- |
|
|
Apr 1 2008, 07:22 PM
Post
#3
|
|
![]() Rapid Squeezer ![]() ![]() ![]() ![]() Posts: 171 Joined: 15-February 08 From: US of A |
Good SEO practices usually turn out an easily accessible site for the disabled. I had a request to do some updates for the disabled by a company one time and so I just did some SEO friendly stuff and it actually made the site a lot more appropriate for the disabled browsers.
-------------------- Currently Available for work: - XTHML, CSS, Flash, Actionscript, PHP, ASP, Ajax -
interested in movies? Read some of my reviews on my blog |
|
|
Apr 1 2008, 09:29 PM
Post
#4
|
|
|
Squeezing ![]() ![]() ![]() Posts: 72 Joined: 16-February 08 |
Easy things that Web Authors can do to enhance the Accessibility of their pages:
Provide descriptive text for all images (content & function via the ALT tag and adjacent informational text or captions) Structure pages utilizing header markup. (use h1 for the page title and h2-h6 for section headings) Provide a hierarchal Site Map of page links (prominently displayed) Ensure links make sense out of context (natural language text descriptions - avoid "Click Here" or text within images) Avoid duplication of link text (for different anchors on the same page) Insure that there is good contrast between text and background colors Do not rely on color alone to convey meaning Use proportional, rather than absolute, sizing and dimensions (% and em rather than pixels) Author to standards (for interoperability, ease of maintenance, etc.) James This post has been edited by jamesicus: Apr 1 2008, 09:30 PM -------------------- Interoperable Web Pages - Always with validated HTML/XHTML/XHTML+RDFa, CSS, RDF, XML, RSS
Elegant Italic Handwriting - Roman Coins of the London Mint - WW2 Air Raids, V1s & Aircraft crashes |
|
|
Apr 1 2008, 09:40 PM
Post
#5
|
|
|
Squeezing ![]() ![]() ![]() Posts: 72 Joined: 16-February 08 |
Not providing meaningful alternative text for images is the most frequent Accessibility error committed by Web Authors - fortunately one that is easily corrected. I think Appropriate Use of Alternative Text by WebAIM is an excellent reference and guide for complying with this essential WCA requirement.
James -------------------- Interoperable Web Pages - Always with validated HTML/XHTML/XHTML+RDFa, CSS, RDF, XML, RSS
Elegant Italic Handwriting - Roman Coins of the London Mint - WW2 Air Raids, V1s & Aircraft crashes |
|
|
Apr 2 2008, 09:28 AM
Post
#6
|
|
![]() Squeeze Machine ![]() Posts: 560 Joined: 14-February 08 From: Stockport |
Thanks for this it's an interesting read, will definitely think of this whilst designing
-------------------- |
|
|
Apr 2 2008, 01:26 PM
Post
#7
|
|
|
Squeezing ![]() ![]() ![]() Posts: 72 Joined: 16-February 08 |
Thanks for this it's an interesting read, will definitely think of this whilst designing Great stuff, Craig! Entering alt="[explanatory text]" for images may seem tedious at first, but it soon becomes an ingrained habit. I could no more forget to include alt="[explanatory text]" for images now than I could forget to tell Beverly (darling wife) I love her each morning -- believe me, that is very important! James This post has been edited by jamesicus: Apr 2 2008, 01:35 PM -------------------- Interoperable Web Pages - Always with validated HTML/XHTML/XHTML+RDFa, CSS, RDF, XML, RSS
Elegant Italic Handwriting - Roman Coins of the London Mint - WW2 Air Raids, V1s & Aircraft crashes |
|
|
Apr 4 2008, 10:07 AM
Post
#8
|
|
|
Squeeze Machine ![]() Posts: 677 Joined: 15-February 08 From: UK |
It's important to think about what the purpose of your image is.
If the image is purely decorative, then the alt attribute should be empty: alt="". Better yet, however, use CSS background images (since this image is presentation not content). Try to imagine what it would be like to use your website with a screen-reader (better yet, actually test it). When confronted with an image that is missing an alt attribute, screen-readers usually read out the complete filename! Now, can you imagine how annoying it is to hear this: "image: left border drop shadow...image: right border drop shadow...image: top border drop shadow...image: bottom border drop shadow...image: top left corner graphic...image: top right corner graphic...image: bottom left corner graphic...image: bottom right corner graphic"? If you're going to hard-code decorative images into your HTML, please leave the alt attribute blank! QUOTE It was fashionable at that time to enclose alt text in [square brackets] so that it would be readily discernable in Lynx and screen readers. I still identify my alt text this way. I don't like that method. The rendering of alt text is a user agent issue. Different UA's will use different methods; but forcing them to announce "open square bracket a photo of my cat close square bracket" is just annoying. This post has been edited by MikeHopley: Apr 4 2008, 10:13 AM |
|
|
Apr 6 2008, 03:36 PM
Post
#9
|
|
|
Squeezing ![]() ![]() ![]() Posts: 72 Joined: 16-February 08 |
.......... I don't like that method. The rendering of alt text is a user agent issue. Different UA's will use different methods; but forcing them to announce "open square bracket a photo of my cat close square bracket" is just annoying. I think the use of square brackets for enclosing Alt text has great utility in that it clearly differentiates it from the page content in textual Browser ouput -- it avoids confusion. The audio screen readers I use do not function as you describe, in fact, they do not acknowledge bracketry (or other formatting devices) at all. Please refer to this thread for an explanation. James This post has been edited by jamesicus: Apr 6 2008, 03:45 PM -------------------- Interoperable Web Pages - Always with validated HTML/XHTML/XHTML+RDFa, CSS, RDF, XML, RSS
Elegant Italic Handwriting - Roman Coins of the London Mint - WW2 Air Raids, V1s & Aircraft crashes |
|
|
Apr 8 2008, 03:51 AM
Post
#10
|
|
|
Squeeze Machine ![]() Posts: 677 Joined: 15-February 08 From: UK |
I think the use of square brackets for enclosing Alt text has great utility in that it clearly differentiates it from the page content in textual Browser ouput -- it avoids confusion. Again, this is a user agent issue not a developer issue. The user agent can choose how to display/distinguish alt text. Surrounding it in brackets is poor semantics. First, do no harm. I understand your reason for doing this. I just don't think it's a good enough reason. QUOTE The audio screen readers I use do not function as you describe, in fact, they do not acknowledge bracketry (or other formatting devices) at all. Please refer to this thread for an explanation. If you're making the "what happens in practice" argument, then you'd better not base your argument on some obscure screen reader. Jaws (the most popular screen reader) does read out your "bracketry" -- at least, it did last time I used it! This post has been edited by MikeHopley: Apr 8 2008, 03:58 AM |
|
|
Apr 8 2008, 09:56 AM
Post
#11
|
|
![]() Rapid Squeezer ![]() ![]() ![]() ![]() Posts: 171 Joined: 15-February 08 From: US of A |
say no to brackets...
I agree with Mike on that one... Let the browsers identify images for them as that is what they are meant to do. -------------------- Currently Available for work: - XTHML, CSS, Flash, Actionscript, PHP, ASP, Ajax -
interested in movies? Read some of my reviews on my blog |
|
|
Apr 12 2008, 01:48 PM
Post
#12
|
|
|
Squeezing ![]() ![]() ![]() Posts: 72 Joined: 16-February 08 |
I surrender on this -- an old idea that had its day. It wasn't well received on the Accessify Forum either.
James -------------------- Interoperable Web Pages - Always with validated HTML/XHTML/XHTML+RDFa, CSS, RDF, XML, RSS
Elegant Italic Handwriting - Roman Coins of the London Mint - WW2 Air Raids, V1s & Aircraft crashes |
|
|
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
10 | Popje | 480 | 4th April 2008 - 10:07 PM Last post by: Popje |
|||
![]() |
6 | LivingDeadBeat | 312 | 20th March 2008 - 11:15 AM Last post by: JustinStudios |
|||
![]() |
2 | JustinStudios | 234 | 20th March 2008 - 05:02 PM Last post by: JustinStudios |
|||
![]() |
2 | jackfranklin | 200 | 25th March 2008 - 05:26 PM Last post by: Linda |
|||
![]() |
3 | Jason | 225 | 2nd April 2008 - 01:41 PM Last post by: karinne |
|||






Apr 1 2008, 12:20 PM










