Prev: wondering why this div is over to the right
Next: CSS Positioning: 2 Column Blog Theme: Assorted: Newbie Questions
From: Albert Ross on 8 May 2010 10:49 OK not really a css problem but there are some sensible folks here! I got a blind guy to listen to my website, he suggested some improvements. Something weird came up: using Firefox this worked OK http://www.combines.org.uk/Galleries/allis/gallery.html using IE he said "everything is duplicated" Now if you take off the css and disable images you'll presumably see what he is hearing Each image has an alt.txt, and beneath it a caption which is identical (since it's copy and pasted. Well you would, wouldn't you?) The screenreader seems to have the sense to only read out the one and not the both using Firefox, but with IE it's reading them both. Is this a known conundrum and what's the solution?
From: Sander Tekelenburg on 8 May 2010 12:03 In article <e2uau5524n6b1s4u3is6skqdmcecji4nid(a)4ax.com>, Albert Ross <spam(a)devnull.co.uk.invalid> wrote: [... <http://www.combines.org.uk/Galleries/allis/gallery.html>] > Each image has an alt.txt, and beneath it a caption which is identical > (since it's copy and pasted. Well you would, wouldn't you?) No, I wouldn't. The alt attribute is to provide a textual *replacement* for the image. See <http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt>. > The screenreader seems to have the sense to only read out the one and > not the both using Firefox, but with IE it's reading them both. If a screenreader ignores alt, it is broken. It's possible that it uses heuristics to determine that some text equals alt, and decides to ignore the duplicate. But given that HTML 4 doesn't provide a way to mark text as a caption belonging to a specific image, this would be unlikely to work well. So I doubt that a screen reader would even try. -- Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/> Mac user: "Macs only have 40 viruses, tops!" PC user: "SEE! Not even the virus writers support Macs!"
From: Bwig Zomberi on 12 May 2010 08:51
Albert Ross wrote: > OK not really a css problem but there are some sensible folks here! > > I got a blind guy to listen to my website, he suggested some > improvements. > > Something weird came up: using Firefox this worked OK > > http://www.combines.org.uk/Galleries/allis/gallery.html > > using IE he said "everything is duplicated" > > Now if you take off the css and disable images you'll presumably see > what he is hearing > > Each image has an alt.txt, and beneath it a caption which is identical > (since it's copy and pasted. Well you would, wouldn't you?) > > The screenreader seems to have the sense to only read out the one and > not the both using Firefox, but with IE it's reading them both. > > Is this a known conundrum and what's the solution? Use alt="" when you have text describing the image. -- Bwig Zomberi |