[whatwg] <menu> and friends
Jan Varga
jan.varga at gmail.com
Wed Jul 24 06:29:53 PDT 2013
On Wed, Jul 24, 2013 at 12:45 AM, Ian Hickson <ian at hixie.ch> wrote:
> If the options are:
>
> - authors never use the feature
> - users lose their control over their browser
> - the feature has a complicated API
>
> ...then we're stuck in a bad place, certainly. But I don't think those are
> the only options; what about these, for instance:
>
> - authors use the feature anyway, and like that it gives users power
> - browsers default to showing mainly the author's menuitems, but offer
> a discoverable way for users to find more options if they need them
>
> Ok, the first of these two might be too optimistic, but the second should
> be workable, no? That's what the spec now suggests. I've added an example
> that shows how this could work:
>
> Before (only the author's commands):
>
> http://www.whatwg.org/specs/web-apps/current-work/images/contextmenu-collapsed.png
>
> After (the user having clicked a disclosure widget):
>
> http://www.whatwg.org/specs/web-apps/current-work/images/contextmenu-expanded.png
>
>
I like it, it's a good compromise.
Jan
More information about the whatwg
mailing list