WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: JAWS and Labels

for

Number of posts in this thread: 1 (In chronological order)

From: jbastow@westpac.com.au
Date: Tue, Feb 10 2004 6:06PM
Subject: JAWS and Labels
No previous message | No next message


Hi All...

Oops...my bad. We do have the Label tags' 'for' attributes set to match
the 'ID' attributes of the corresponding fields. We more have a problem
with JAWS doing too much (i.e. reading each field label twice) rather than
too little (i.e. not reading anything at all).

In case it makes my garbled verbal description any clearer, here is a code
example of the link/field style we are using:

<A HREF='javascript:document.forms[0].elements["firstName"].focus()'
CLASS='ValidationMessage'>First name - please provide details.</A>

<TR VALIGN=top>
<TD WIDTH="570" VALIGN=middle>
<LABEL for="CreditCardNo"><img
src="/images/ss_spacerdot.gif" width="0" height="0" alt="mandatory">Credit
card number:</LABEL>
</TD>
</TR>
<TR VALIGN=top>
<TD WIDTH="570" VALIGN=middle>
<INPUT NAME="p1CreditCardNo" VALUE="" maxlength=16
onBlur="this.value = allTrim(this.value);" ID="CreditCardNo"
CLASS="formsFieldText" STYLE="width=150px">
</TD>
</TR>

As I noted earlier, JAWS for some reason is insisting on reading the given
label twice when focus is thrown to such a field, i.e. it says "Credit
card number colon...Credit card number colon".

Any further comments would be greatly appreciated as I am getting some
pressure over not being able to resolve such a simple issue quickly,
although I can't help but think that what we are trying to do is possibly
confusing JAWS a little bit. A lot of what I am reading online suggests
that, in consideration of screen-reader users, you shouldn't throw the
focus around, etc.. Unfortunately this is the way our style gurus want
this set up, so I am even prepared to look at dirty workarounds if
required.

Cheers...

Jon Bastow
Internet Services
Westpac Banking Corporation
Mobile: 0425 259 571
Phone: (02) 9260 [2] 6078
Fax: (02) 9260 [2] 6593

WARNING - This e-mail and any attachments may be confidential. If
received in error, please delete the e-mail and tell us by return e-mail.
Because e-mails and attachments may be interfered with, may contain
computer viruses or other defects and may not be successfully replicated
on other systems, you must be cautious in placing reliance on them.
Westpac can not guarantee that what you receive is what it sends. If you
have any doubts about the authenticity of an e-mail purportedly sent by
Westpac, please contact us immediately. Before opening or using
attachments, check them for viruses and defects. Westpac liability is
limited to resupplying any affected attachments. Westpac Banking
Corporation's ABN is 33 007 457 141.


WARNING - This email and any attachments may be confidential. If received in error, please delete and inform us by return email.

Because emails and attachments may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems,
you must be cautious. Westpac cannot guarantee that what you receive is what we sent. If you have any doubts about the authenticity of an email by Westpac,
please contact us immediately.

It is also important to check for viruses and defects before opening or using attachments. We