[whatwg] Proposal for New Tag for UI Elements

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