WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Focus for error messages


From: Joshue O Connor
Date: Apr 19, 2007 8:00AM

JAWS in forms mode is actually JAWS interacting directly with the web
interface/application itself. Otherwise the screen reader is interacting
with a virtual version of the page via the OSM (Off Screen Model). Many
screen readers use these methods and some interact directly through the
DOM such as Supernova/HAL.

tedd said:
> you use a new window to show error messages, then that will be provided to screen readers.

Thats one way but this may not always be ideal. Also, if the DOM is
being manipulated then these error messages may not be displayed at all
as the page is not refreshed when dynamically manipulating the DOM. You
may be able to trigger page refresh etc but I suppose this goes against
the grain of dynamically generating content on the fly a la AJAX.

> if you initiate a screen refresh of the current window, then whatever errors that are new on that page (via ajax) will be made accessible to screen readers as well.

Could you please expand a little on how you suggest that will work?

Ben pointed to some good resources earlier including his example and
Gez's article, which are really useful.

The real trick to give the error message focus within your interface and
in order to do that you need to provide an element that can receive
focus such as an anchor/link.




NOTICE: The information contained in this email and any attachments
is confidential and may be privileged. If you are not the intended
recipient you should not use, disclose, distribute or copy any of
the content of it or of any attachment; you are requested to notify
the sender immediately of your receipt of the email and then to
delete it and any attachments from your system.

NCBI endeavours to ensure that emails and any attachments generated
by its staff are free from viruses or other contaminants. However,
it cannot accept any responsibility for any such which are
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email
and any attachments are those of the author and do not necessarily
represent the views of NCBI