So, I tried to make my site as accessible as possible (for non-JavaScript users, web crawlers, screenshots, etc.), and I got into a big catch.
The site I am developing is very heavy. (I draw stupid things in my free time, and the site is a kind of "showcase".) Each page on the site has one image (or several, if the context is needed or the image consists of several panels), which is usually accompanied by a single caption below . Therefore, when I got to the point that I had to add access features, I was not sure what to do. For example, let's say I had the image of a man who ate an apple, and there was a worm in jest. So, the first thing I did was to add a ridiculously descriptive text alt, as that was the only way to provide an “equivalent” for screen reading.
<img src="appleeat.png" alt="A man bites into an apple. As it turns out, there a worm in it!">
At first it looked fine, but then it all went very fast when I suddenly wanted to add text up to 300 characters (!!!) for more complex jokes and images. Not only that, but apparently alt text is not for description anyway .
So, I have such problems:
- Alt text is for equivalents, not descriptions. However, the only way to provide an equivalent in this case is to provide a description.
longdesc seems more appropriate for this feat, but longdesc not supported by any browser (at least according to W3Schools), although it seems to be in the HTML5 specification .<figcaption> seems to be the way to go, but in the end it displays the text under the image in question, which is definitely not very attractive to my site, especially if I want to add additional signatures and context to the <p> tags or something like that.
So what should I do? What would I put and where? I’m completely at a dead end, and to be honest, I’m not sure that creating a site based solely on images that are accessible to people who cannot see very well is a good idea.
html accessibility seo image alt
Orangestar
source share