W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2007

[whatwg] Proposal for New Tag for UI Elements

From: Thomas Broyer <t.broyer@gmail.com>
Date: Wed, 12 Dec 2007 14:44:56 +0100
Message-ID: <a9699fd20712120544h2d1fb5bgc964a11732f17789@mail.gmail.com>
2007/12/11, Krzysztof ?elechowski:
>
> The + sign does not belong to the user input, it is a shortcut the
> following explanation:
> <OL ><LI >press <KBD >Shift</KBD
> ><LI >press <KBD >F3</KBD ><LI >release<KBD >F3</KBD
> ><LI >release<KBD >Shift</KBD ></OL >
>
> (That is how I have to explain it to my mom; otherwise she always gets
> it wrong.)  So the + sign is actually misleading and certainly does not
> belong to the KBD tag.
>
> Think about printed instructions that show the keys boxed.  Would you
> want to get the + sign boxed as well?

Only "kbd inside kbd" would be "boxed" then, so the + sign is not a problem:

<p>To make George eat an apple, press
<kbd><kbd>Shift</kbd>+<kbd>F3</kbd> (hold <kbd>Shift</kbd> down while
pressing <kbd>F3</kbd>, then release both keys, in any
order)</kbd>.</p>

Or eventually:
<p>To make George eat an apple, press
<kbd><kbd>Shift</kbd>+<kbd>F3</kbd></kbd> (i.e. hold
<kbd><kbd>Shift</kbd></kbd> down while pressing
<kbd><kbd>F3</kbd></kbd>, then release both keys, in any order).</p>


-- 
Thomas Broyer
Received on Wednesday, 12 December 2007 05:44:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:38 UTC