Re: Keyboard control extensions to HTML

Daniel W. Connolly (connolly@beach.w3.org)
Wed, 10 Jul 1996 17:37:44 -0400


Message-Id: <m0ue6x6-0002UOC@beach.w3.org>
To: Abigail <abigail@uk.fnx.com>
cc: www-html@w3.org
Subject: Re: Keyboard control extensions to HTML 
In-reply-to: Your message of "Wed, 10 Jul 1996 17:36:03 +0100."
             <31E3DBF3.167EB0E7@uk.fnx.com> 
Date: Wed, 10 Jul 1996 17:37:44 -0400
From: "Daniel W. Connolly" <connolly@beach.w3.org>

In message <31E3DBF3.167EB0E7@uk.fnx.com>, Abigail writes:
>alex@activevoice.com wrote:
>> 
>> Subject: HTML extensions for keyboard control.
>> 

While the recent proposal seems at odds with traditional
HTML design goals, we have been messing around with keyboard
"shortcut" stuff at W3C.

For example, see:

http://www.w3.org/pub/WWW/MarkUp/Cougar/HTML.dtd

<!ELEMENT LABEL - - (%text)* -(LABEL) -- field label text -->
<!ATTLIST LABEL
        %attrs;     -- id, class, style, lang, dir --
        for         IDREF   #IMPLIED  -- matches field ID value --
        accesskey   CDATA   #IMPLIED  -- accessibility key character --
        title       CDATA   #IMPLIED  -- advisory title string --
        onClick     %script #IMPLIED  -- intrinsic event --
        >

The way this is used is, for example:

	<FORM>
	<LABEL ACCESSKEY="U">User Name<INPUT
	TYPE="INPUT" NAME=USER></LABEL>
	</FORM>

which might, for example, underline the U in "User Name".

Dan