Diperbarui 18 April 2010 oleh Dani Iswara
Left out Web Content Accessibility Guidelines (WCAG) recommendations if you think it is technically too difficult to understand. Texts alternative often used in
title attributes. There are no strict rules how to fill it.
Logically, we may choose a better way to write some information into it. No keywords cloaking, stuffing/flooding methods. Put your black-hat search engine optimization (SEO) strategies off. We, humans, do not need all of that keywords in a Web documents.
Keep on context. Try to read the texts alternative in a logical way.
Alternative texts known as
Images and multimedia files in content should also accessible for all users, vision impaired and disabled-image users. No lost information for visitors. What texts should we put on it?
- If it is decorative or simple illustration only, use empty or null alt,
- If the image contains texts, put that texts inside the alt attribute. Describe the content of the image,
<alt="same descriptive texts here">.
- If the image is already explained in content, e.g. table of result, someone photo, gravatar, smiley, so no need special treatment to do. We may put the name of table, person, or object in
- Multimedia files needs some text transcript, narration, synopsis, and/or long description.
- Explaining the description on non-text content is not a must. But ensure the function of it.
Title attributes in links
This attribute is not fully accessible since it is mouse dependant. Only additional information should be placed inside the
title="additional information here". Redundant information in anchor text and its title attribute is useless and sounds bad for screen reader users. Descriptive anchor texts are more than enough.
If you think it is useful for search engines, find your title attributes on search engine result pages. Or ask algorithm developer for sure.
Is it logic already?
How to know that your text alternatives are already context-related and logic enough for human and machines?
- Put all images off. The navigation menu must be still exist there. Do visitors lost some important information? Do your image-based bullet/listing style still visible?
- Put all CSS off. Fancy tooltips may not work properly.
- Use text-based browsers such as Lynx. Or use Web crawler-spider simulators. Do the text alternatives easy to read and understand?