> But pages and "apps" have the same needs. I might click an article link on
nytimes.com, e.g., and want to navigate back to the home page. That need is the same whether it's a page or an "app".
Actually "Back" buttons—in the classic browser sense—aren't very relevant in Apps design. There are plenty of much more effective navigation design patterns, such as tabs, Windows Mobile's panorama, modal windows, etc. In the relatively rare instance within Apps where you burrow down a level into the hierarchy, and need to ascend back up, iOS and Android 4 solve the problem with labeled UI buttons in top-left.
Unlabeled "Back" buttons are a blunt force, unsophisticated tool. Blind jumps. Useful in fairly linear document-to-document navigtation where you probably remember where they're taking you, but breaking down fast in the dynamic world of the app.
> The general process is, opt-in to new hotness, or fall back and degrade gracefully. My personal opinion is that contextual navigation >> fixed UI like a chrome/HW back button. If that's right, contextual navigation will win and UAs/devices that support that best will win in the market. That is, the better paradigm will kill HW/chrome back buttons. Duplicated UI will reflect badly on the *device/chrome*, not the app.
>
> As an anecdote, there are several android applications on my gingerbread phone that have contextual nav, and I've learned to prefer it and look for it. I only press the HW back button as a last-ditch "get me out of here" mechanism, and I don't know where it will take me.
>
> If contextual navigation wins, a capability check for HW/chrome back button doesn't seem like a useful API. Legacy content wouldn't know about it, and contextual-navigation-using apps would just ignore it.
>
> We need to decide on the direction for Gaia. Sentiment seems to be in favor of contextual nav. If that's the direction, then the question is how to fall back. We have some options
> - special gesture to bring up a compat context menu, like a long-tap. "Back" could be an option in the compat menu.
> - allow pages to indicate semantically they're providing their own contextual navigation. Fall back for pages that don't. I lean towards this solution.
> - show back control in standard location, make pages opt-in to not having controls. I don't really like this, but it's an option that might make sense given data.
>
> We don't have enough information to make an informed decision yet, I don't think. We need to test these out with real pages.
I'm not clear on whether you're recommending the above solution for both "web content" and Apps. I'm assuming yes.
The issue here is that unlabeled back buttons are poor App usability, regardless of whether they're hardware, browser chrome, or tucked in a contextual menu. So I'd say:
For content designed to live in a browser ("document reader" content, as per your other email) we do provide Firefox, which does have chrome back button. We could also look at supplemental alternatives, from swipes to contextual menus.
For Apps, devs are responsible for their own nav, and will inevitably leverage the rich array of establish mobile design patterns out there. Our first party apps will continue to avoid blind back buttons.
FWIW, I can foresee using contextual menus ala: ICM, populating them with less-common functions. And maybe as backup nav. But for primary Apps nav, definitely not.
--
Josh Carpenter
UX Designer
Mozilla Corporation
On Mar 14, 2012, at 11:11 PM, Chris Jones wrote:
> ----- Original Message -----
>> Subject: Re: [b2g] Universal Navigation for Web Apps
>>
>> On Tue, Mar 13, 2012 at 6:10 AM, Josh Carpenter
>> <
jcarp...@mozilla.com>wrote:
>>
>>> On Mar 6, 3:48 am, Vivien <
2...@vingtetun.org> wrote:
>>>> In any case pressing the 'home' button bring you back to the
>>>> homescreen
>>>> and from here you can manage your applications.
>>>
>>> Egg-zactly. The clarity of a single button.
>>>
>>
>> I actually really like the purity of a single hardware button and no
>> chrome. I just want to be clear that we're not just designing the UX
>> for
>> B2G here, we're setting a precedent for how web apps might be used on
>> other
>> platforms too. Currently many web apps make the assumption that a
>> chrome or
>> hardware back button is present. We're saying that sometimes that
>> won't be
>> the case, which is not just something which effects Gaia apps on B2G,
>> but
>> all web apps on all platforms.
>>
>
> When legacy content makes assumptions that no longer hold, the market rewards players who implement fallbacks to degrade gracefully. The original MobileSafari kicked everyone's ass doing that.
>
> The market also rewards players who lead the way on innovation and better UX. Unsuccessful ideas turn into dead ends, and successful ones become the next decade's legacy content that everyone has to support. We have to walk a fine line.
>
> Agreed on making sure the line is clearly drawn between b2g and Gaia. b2g doesn't care what it's drawing, it's just an engine. Conversely, Gaia only cares what's being drawn, and doesn't care what engine is drawing it (could be webkit).
>
>> I don't have a problem with having no persistent back button outside
>> of app
>> iframes in Gaia, as long as Gaia apps still behave as the user would
>> expect
>> on other platforms, like not breaking the back button on desktop
>> Firefox