W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2011

[whatwg] Geolocation - Browser usability issues with regards to asking user permission

From: Glenn Maynard <glenn@zewt.org>
Date: Thu, 7 Apr 2011 00:32:55 -0400
Message-ID: <BANLkTinf=00i3A9mus-TtatNG+uOaXG3Uw@mail.gmail.com>
On Wed, Apr 6, 2011 at 8:04 PM, Peter Kasting <pkasting at google.com> wrote:
> Furthermore, modal
> dialogs have other usability issues that the browser vendor may wish to
> avoid, e.g. requiring script on many different tabs to stop.

Are you thinking of how the prompt, etc. require that the UA pause
scripts?  That's only required for those old synchronous APIs.  A
modal prompt for an asynchronous API like this doesn't need to do

There's also the tendency for modal dialogs to be window-modal,
locking the user from using any other tab, but the recent trend
towards tab-modal prompts solves that problem.

I don't think this is necessary, though.  A developer that wants these
requests to appear modal can simply dim out the page until the
response comes back.  That'll push attention to whatever the browser's
doing, without his having to care too much about what it is.  (If the
browser itself also dims the page, as for example Firefox and Opera's
prompt() dialogs do, then it'll dim it twice, but that's minor.)

Glenn Maynard
Received on Wednesday, 6 April 2011 21:32:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:32 UTC