Wow who decided it was a good idea to have screen readers support
javascript and not title attributes!
You could make make the image point to an html file with the same
filename and folder as the image then the javascript could replace with
.htm with .jpg.
Matthew Pennell wrote:
On Dec 3, 2007 7:48 AM, Jixor - Stephen I <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
When I have used them the caption has always come form the link's
title attribute so I would assume that to be accessible?
Accessible to whom?
Some points to bear in mind:
1) Many (most?) screenreaders do not read the title attribute by default.
2) Many (most?) screenreaders are perfectly able to execute
JavaScript, so when the user clicks the link, what happens? It might
announce that the document structure has been updated (by the addition
of the lightbox div overlay), but that doesn't tell you where or what
has happened.
3) Screen magnifier users might not be able to see the changes to the
screen when they click the lightbox link.
4) If the link's href points to the image, how does that help people
with scripting disabled? They just get the picture, with no caption.
Your solution is good inasmuch as it doesn't rely 100% on JavaScript,
but there are still many accessibility issues to consider.
- Matthew.
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************