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.

Received on Thursday, 11 August 2011 18:22:05 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:16 UTC