W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > January 2000

New technique: Technique 10.4.1 [priority 3] Check for valid default values of INPUT, TEXTAREA, and SELECT elements.

From: Wendy A Chisholm <wendy@w3.org>
Date: Mon, 31 Jan 2000 16:12:51 -0500
Message-Id: <4.2.0.58.20000131161100.00a49840@localhost>
To: w3c-wai-er-ig@w3.org
Michael wrote:
<blockquote>
Checkpoint 10.4 - Until user agents handle empty controls correctly, 
include default, place-holding characters in edit boxes and text areas
New Technique: following algorithms collectively would cover this:
presence of valid VALUE attribute for INPUT where TYPE attribute is "text"
for each set of INPUTs
where TYPE attribute is "checkbox" or "radio" and
with the same value for NAME attribute,
one should have a SELECTED attribute
valid content of a TEXTAREA
among all OPTIONs in a SELECT, one must have a SELECTED attribute
</blockquote>

i propose
<blockquote>
Technique 10.4.1 [priority 3] Check for valid default values of INPUT, 
TEXTAREA, and SELECT elements.
Discussion Status:
awaiting discussion
Evaluation:
Check INPUT elements of type="text" for valid "value" attribute.
Check INPUT elements of type="checkbox" or "radio" with the same "name" 
attribute for one of them to have a "selected" attribute.
Check TEXTAREA for valid text content.
Check all OPTIONs in a SELECT element for one of them to have a "selected" 
attribute.
Example Language:
none.
Repair Technique:
For INPUT elements of type="text" and TEXTAREA elements, ask the user for 
default text or suggest a space.
For groups of radio buttons, checkboxes, and selection boxes, ask the user 
to pick one to be the default.
Test Files and Discussion Files:
</blockquote>
--
wendy a chisholm
world wide web consortium
web accessibility initiative
madison, wi usa
tel: +1 608 663 6346
/--
Received on Monday, 31 January 2000 16:10:39 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Thursday, 9 June 2005 12:10:34 GMT