W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2012

Re: [whatwg] suggestin a minor addion to the DOM

From: Chaals McCathieNevile <w3b@chaals.com>
Date: Thu, 28 Jun 2012 20:48:08 +0200
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Message-ID: <op.wgmmiiqw22x22q@widsith-3.local>
Cc: Andri Sævar Sigríksson <ass57@hi.is>, "whatwg@whatwg.org List" <whatwg@whatwg.org>
On Thu, 28 Jun 2012 20:43:37 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

> On Thu, Jun 28, 2012 at 11:38 AM, Chaals McCathieNevile <w3b@chaals.com>  
> wrote:
>> On Thu, 28 Jun 2012 03:03:48 +0200, Bjoern Hoehrmann <derhoermi@gmx.net>
>> wrote:
>>> * Andri Sævar Sigríksson wrote:
>>>>
>>>> suggestion
>>>>
>>>> Boolean value
>>>>
>>>> implemented as Window.nobackspace  or  Navigator.nobackspace
>>>>
>>>> if set to true the browser would not accept the key press on  
>>>> backspace as a signal to go to the previous page
>>>
>>> Why would users want that?
>>
>> Generally it isn't a very nice thing for users not to go back...

> You may be misreading this - it's about turning off the "backspace
> means go back in history" functionality that some browsers have in
> some circumstances.  It's not trying to shut down back navigation
> generally.

Ah. In that case I can see the use case. But I don't think this is such an  
elegant approach either, because the underlying problem is not just a  
specific key but the general behaviour of the browser when you are dealing  
with interactive components (editing is one). This is related to the use  
cases for the aria role "application"...

> I can easily see an editting-heavy page wanting to turn off this
> behavior, as when I was still a FF user, I'd occasionally get
> accidental navigations because I didn't notice that an input or
> textarea had lost focus.

Yep. I used to have 1 and 2 for changing tabs, and could occasionally meet  
the same class of problem.

cheers

chaals

-- 
Chaals - standards declaimer
Received on Thursday, 28 June 2012 18:48:55 UTC

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