Re: Web Forms: Usability and Accessibility Question.

> What about when a field is mandatory?  The standard way of indicating this
> is with an asterisk after the label.  For accessibility this should precede

Although it won't help in the short term, long term I think there is a
case for a new attribute on input elements to indicate they are mandatory
(this might be considered to be XFORMS rather than [X]XHTML, and might
already exist for them

> any other information in the label so that the user knows that what follows
> is mandatory.  So what special techniques can others share with this?  Is
> there a way of showing the asterisk last for sighted readers yet sounding it
> first for people using speech readers?  The obvious first thought is via
> tabindex, but <label> doesn’t have a tabindex attribute.

There are ways of doing it for people using good CSS2 implementations and
speech mode browsers.  Most people use bad CSS2 implemenations and 
visual mode browsers with speech bolt-ons (which often depend on using
a specific, CSS2-weak, browser).  For good CSS2 implementations, the
"*" probably should be inserted as styling, and the mandatory property
coded as a sub-class, but such browsers are in the minority.

Received on Tuesday, 3 February 2004 16:01:25 UTC