W3C home > Mailing lists > Public > public-html@w3.org > August 2011

Re: ISSUE-133 modal-attribute - Chairs Solicit Alternate Proposals or Counter-Proposals

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 11 Aug 2011 11:21:18 -0700
Message-ID: <CAAWBYDCcvzSBYFCC0+xWC45z4Gy09WXFXHx3=XwU1ucwQruD=A@mail.gmail.com>
To: Steve Faulkner <faulkner.steve@gmail.com>
Cc: "Edward O'Connor" <eoconnor@apple.com>, public-html@w3.org
On Thu, Aug 11, 2011 at 9:11 AM, Steve Faulkner
<faulkner.steve@gmail.com> wrote:
> hi Ted,
>
> your wrote:
>
> "Being able to dismiss the dialog by using the escape key is usually
> desired, so that's the default behavior, but there are use cases for
> modals in which the user needs to pick from N options where none cleanly
> map onto a "Cancel" action."
>
>
> my concern is that not providing a method to dismiss a dialog that cannot be
> overidden by the developer may lead to situations where devious developers
> will use this to force users to press a button in the dialog.

...and do what?  The button will just run javascript.  The author can
run javascript themselves, without any user interaction.


> esc can be used to dismiss javascript alert/confirm/prompts I am unsure
> whether this behaviour can be overidden by the author.

This proposal is about elements serving as modal dialogs.  It has
nothing to do with alert prompts.

~TJ
Received on Thursday, 11 August 2011 18:22:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:37 GMT