Hi Rebecca, Screen readers handling of JavaScript events are a real pain as not only do different screen readers handle HTML and CSS differently but this is also true of their handling of JavaScript. Typically as no content should be inaccessible without JS if you must "hide" content from a sighted user do so with absolutley positioning the element of screen rather than using display none.
With regards to the show hide cookie, if you place the links offscreen using the method described above and then position back within the page view on focus then once a person tabs through the anchor list the links show. This is also usefull when providing partially sighted users visual ques onscreen. The JavaScript Anthology by James Edwards http://www.sitepoint.com/books/jsant1/ has a nice chapter on this subject and The Juicy Studio Blog also many informative posts http://juicystudio.com/index.php. Kind Regards Darren On 05/03/07, Rebecca Cox <[EMAIL PROTECTED]> wrote:
Hi all, I've got a couple of questions regarding DHTML and how to ensure content is accessible & usable via screen reader. Say you have a web page with a link to "Subscribe to updates" - when the user hovers on the link, a form would be displayed below (standard dhtml show/hide). The form would be in the HTML source on page load, hidden using CSS. My questions on this are: 1. If we displayed the content on focus as well as on hover, would this make it screen reader usable? 2. Alternatively, we could make clicking on the link (rather than, or as well as, on focus) display the content and take you to it (ie use an anchor on the page). 2. Does reading out the link (for screen readers) give it focus? 3. If we had (at top of page, with the skip link) a facility to turn off the show/hide functionality, (using a cookie) would this be useful? If anyone has comments, suggestions etc they could pass on to me about this, it would be greatly appreciated:) Regards, Rebecca Cox ==================================== SIGNIFY LIMITED :: the logic behind ==================================== ph: +64 4 803-3211 | fax: +64 4 803-3241 http://www.signify.co.nz P.O. Box 24-068, Manners St, Wellington 250A Wakefield St, Wellington ==================================== This communication, including any attachment, is confidential. If you are not the intended recipient, you should delete/destroy this communication; you may not read and must not copy, send on or retain any part of this communication. Please do not disclose to any third party anything about this communication. ******************************************************************* 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] *******************************************************************