WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Forms mode and error messages

for

From: Léonie Watson
Date: Aug 13, 2011 6:51AM


Nancy Johnson wrote:
"Second test: Tried to add incorrect data to the form so to force an
error message... In this case I had to tab from control to control...
the error message was not readable. Did not actually do anything to
turn on "forms" mode."

Are the error messages being produced inside the form labels? Are
the labels properly associated with the corresponding form fields? The most
common cause of labels not being announced when tabbing through a form
(either in or out of forms mode), is that the labels aren't setup properly.
More on this here:
http://webaim.org/techniques/forms/controls

Léonie.

-----Original Message-----
From: <EMAIL REMOVED>
[mailto: <EMAIL REMOVED> ] On Behalf Of Nancy Johnson
Sent: 12 August 2011 14:14
To: WebAIM Discussion List
Subject: [WebAIM] Forms mode and error messages

I have a question regarding forms mode and inline error messages. (I
am using NVDA)

We are using JSF framework for our form... The engineer set up the <inputs
using a grid panel which produces a table. Currently the error messages are
called from the server into a new table cell.

There is no ajax...

First test: I submitted the form so the form would produce all the
default error messages.. Turned on NVDA and listened without trying to
interact... All the error messages were readable and aligned
themselves with the correct control. No problem.

Second test: Tried to add incorrect data to the form so to force an
error message... In this case I had to tab from control to control...
the error message was not readable. Did not actually do anything to
turn on "forms" mode.

I am certainly not an expert with screen readers. Am I doing something
incorrect? Is it to do with tabbing from input to input?
What should I be doing so I can give an accurate report.

Thanks,

Nancy Johnson