Example for Checkpoint
10.4 - Until user agents handle empty controls correctly, include default, place-holding characters in edit boxes and text areas.

Example
Slide 81 of 120
Previous slide. Next slide.

Priority 3

Why? Some older browsers do not let a keyboard user "TAB" into an entry field. In the FORM example below, an asterisk in the Name field and some default text in the Textarea allow the user to search for the placeholding text and thus provide a means of getting the insertion cursor into the field.

Your name

Feedback


The following code creates the above FORM example:

Your name <INPUT TYPE="TEXT" NAME="Name" SIZE="50" VALUE="* ">

Feedback <TEXTAREA NAME="TextArea1" ROWS="4" COLS="50">

Please enter your comments here: </TEXTAREA>

<INPUT TYPE="submit" VALUE="Submit this form.">



Up one level To Checkpoints for Guideline 10.
Next slide: Example for Checkpoint 10.5

Introduction: Overview Guidelines: Overview Checkpoints: Overview Examples: Overview

Previous page. Next page.

Chuck Letourneau & Geoff Freed

W3C Web Accessibility Initiative

Copyright © 2000 W3C