[whatwg] Looking at menus in HTML5...
ian at hixie.ch
Mon Aug 6 21:03:07 PDT 2007
On Mon, 6 Aug 2007, Andrew Fedoniouk wrote:
> Ian, this @label in menu is a bit ugly. Consider following...
> Here is what I need:
> <li><b>F</b>irst option</li>
> <li><b>S</b>econd option</li>
> <li><b>T</b>hird option - submenu
> Pay attention on "Third option - submenu". It contains additional markup
> and/or styling.
Assuming you mean for the boldened letters to represent the accelerator
key, the idea is that you don't have to give them at all, the user agent
will determine the optimal accelerators.
> How you would achieve this with the @label?
You don't need to bolden the letters, so it all Just Works.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg