zersiax 6 points 2y ago
WCAG and the HTML5 spec together generally dictate that:
​
\- Every image should have an alt attribute;
\- alt attributes should contain a value when an image contains information that is not otherwise indicated on the page.
​
Obviously, that is largely theoretical and doesn't really indicate when you should and shouldn't describe images, but it's a start. The reason this is to hard to really pin down is because it is really specific to the website you are trying to build and to what degree you want screenreader users to be aware of the images on that website.
A few tips:
​
\- Generally, you can avoid things like "image of, picture of, etc" unless the particular medium is for some reason distinctive. A screenreader will already say "graphic", so if you have a graphic of a banana, an alt text of "banana" is just fine.
\- This is a bit of an ancient example, but images of spacers, gradients or other things there to just fill up space or make more space, I would say, can be considered purely decorative and should not have alt text, there is such a thing as too much information.
\- Decide on a level of description based on what the image is doing. e.g., if your website is about paintings, you will probably want to describe an image of a painting pretty extensively. If you're just including an image of the Mona Lisa to give an example, a description can be far more terse.
​
Overall this is always going to be a bit of a guessing game for non-essential graphics, but then, it's also not the most important thing to get stuck on access-wise. Necessary graphics like icons, charts, infographics etc. however, absolutely need to be described, and described in a fitting manner. If an icon is going to show up for each row in a table, for example, you don't want a description like "This is Icon mciconface that indicates the state of the flux capacitor about to overlo...boom!". A label like "danger" would probably be better..
This takes me to your second question though. By far, the most important things on a website that I want to see working is a proper navigation structure (hierarchical headings that actually flow properly, use of semantic HTML like main, header, footer etc.) as well as elements that are properly operable by screenreader users. Buttons, links, dropdowns, rather than JS-enhanced clickable divs that have no role or proper ARIA markup. That's another thing, use ARIA sparingly.
In the field, we pretty often say that rule 1 of ARIA is to not use ARIA, which is semi-joky but actually pretty accurate. If HTML has a way to do what you are trying to do without using ARIA, always prefer that.
I hope that helps a little :)
Superfreq2 2 points 2y ago
Some good, real world resources I've found that could help.
https://webaim.org/projects/screenreadersurvey8/
https://www.w3.org/WAI/people-use-web/user-stories/
https://www.brucelawson.co.uk/2019/checklist-to-avoid-the-most-common-accessibility-errors/
https://levelup.gitconnected.com/wcag-2-1-simplified-how-to-make-your-website-accessible-1cfadd03d20d
https://webaim.org/articles/
https://www.smashingmagazine.com/2021/03/complete-guide-accessible-front-end-components/
TwoSunsRise 2 points 2y ago
Thanks for trying to make your website accessible! Many people don't and it's unfortunate.
We use iPhone voice over and if the website is accessible it works pretty well. I would like images to be described. It's a big void of accessibility since technology isn't quite up to speed with image description. Usually we're left guessing and confused, especially if the image adds context to what we're reading. I have no idea what kind of websites you have so it's a little tricky to give full feedback. Usually we hear the work "image" or hear a certain sound that means it's not readable. It's frustrating to hear that so much (since images are everywhere). So overall: yes, image description would be nice, per me and my VI family members opinions.
BlindLuck72 1 points 2y ago
Please for the love of got use high contrast color scheme!!!!
Black text on white background is fine it doesn’t need to be fancy but so many web pages have light blue on white or red background with white text etc... you get the idea the company colors. This is especially problematic with buttons. I ran into a web page using yellow buttons with white txt recently. Could read it....