WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: JAWS and Labels

for

From: julian.rickards@ndm.gov.on.ca
Date: Feb 11, 2004 5:54AM


Not related to your question but for the <input> you have an incorrect
format of style, you have style="width=150px" whereas it should be
style="width: 150px".

Sorry, can't help you with your primary question.

Wait a sec. Are you throwing focus to the label or the input? Perhaps try
throwing the focus to the input?

Just an idea.

---------------------------------------------------------
Julian Rickards
Digital Publications Distribution Coordinator
Publications Services Section
Ontario Ministry of Northern Development and Mines
Phone: (705) 670-5608
Fax: (705) 670-5690



-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ]
Sent: Tuesday, February 10, 2004 7:54 PM
To: <EMAIL REMOVED>
Subject: JAWS and Labels



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. Westpac's liability is limited to resupplying any
affected attachments.



Westpac Banking Corporation ABN is 33 007 457 141.




----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/