WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [EXTERNAL]Figures and Captions and Alt-text oh my...

for

From: Sandy Feldman
Date: May 9, 2018 8:13AM


hi Glen,

It is a shame the artist doesn't want the hidden descriptions available
to people who can see the paintings, but there you go.

http://ineeda.coffee/arnie/paintings.html

I have added  aria-describedby="desc" to the images. Sounds exactly the
same to me in Voice Over, but I am far from an expert user. It's nice to
have some kind of connection, though. It's got to be better than "this
comes next"!

thank you for your input,
Sandy


On 2018-05-08 8:09 PM, glen walker wrote:
> I really like the artist's hidden descriptions. It's a shame they > don't want sighted users to see them. I understand not trying to >
influence the observer's thoughts, but I looked at the pictures >
differently after reading the descriptions (which is probably the >
artist's point), but I liked how I saw them after reading the >
description. I would have missed out on some things otherwise. You >
could have the description in a "disclosure" object, >
https://www.w3.org/TR/wai-aria-practices/#disclosure, so that all >
users can benefit from them. > > If you still want to hide them
completely from sighted users > (assuming the sighted user doesn't bring
up the code inspector in the > browser), I was going to suggest using
aria-describedby on the <img> > tag but JAWS does not honor it.
aria-describedby is a global > attribute that can be used on any element
so I'm not sure why it > isn't being honored. NVDA reads it ok.
aria-describedby should be > part of the "accessible description"
computation so shouldn't be > affected by whether you have an alt
attribute or not (since alt is > part of the "accessible name"
computation). > > The following worked great in NVDA. I didn't try
VoiceOver. > > <img src="paintings/3kids.jpg" alt="Three children" >
aria-describedby="desc"> <span id="desc" style="display: none"> Three >
children stand by the road side, not ready to cross. Discomfort and >
malaise informs their expressions. Behind them, beyond the cliff > side,
lies the vast ocean. In the distance a whale breaks the waves. > Does
this portend the thing they are waiting for? </span> > > To me, it
helped associate the description with the image itself > instead of
having the description as just paragraph text after the > picture.
subscription, visit http://list.webaim.org/ List archives at >
http://webaim.org/discussion/archives <EMAIL REMOVED>
--
Sandy

sandyfeldman.com
sandyfeldman.tumblr.com/
ca.linkedin.com/in/sandyfeldman
inclusivemedia.ca