BrowserID widget does not work & displays no error if JavaScript is disabled

Bug #1066177 reported by Terri
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Postorius
Fix Committed
Medium
Unassigned

Bug Description

If you have JavaScript disabled in your browser, clicking "sign in" for browserID does nothing at all (not even a warning message). This is a widget we borrowed from elsewhere, so we may need to see if the mozilla browserid team has a nicer one available now, or if we need to modify it ourselves.

Revision history for this message
François Marier (fmarier) wrote :

Persona/BrowserID doesn't really offer a widget, because all that's needed is for webapps to call "navigator.id.request()" or "navigator.id.get()" when the login button / link is clicked. So all that's provided are sample buttons that people can use:

  https://developer.mozilla.org/en-US/docs/persona/branding

To solve this bug, perhaps what's needed is:

1. marking the button as disabled in the HTML (ideally it would be grayed-out too)
2. when the page is done loading, mark the button as enabled

That way, users with Javascript disabled won't try to use that button.

Revision history for this message
Terri (terriko) wrote :

Ugh. "you can't log in at all without JavaScript" is absolutely not going to be a viable solution for us (or many other targets of BrowserID, I suspect).

We'll have to see what we can do to get around this. I don't want to just drop BrowserID, but it's clear that it won't be feasible to leave it as our primary login for the early releases like I hoped.

Revision history for this message
Terri (terriko) wrote :

I've put in a <noscript> warning message for now, but I'm not sure if it's going to be sufficiently noticeable. I'm going to close but am happy to re-open if user testing indicates we need something better.

Changed in postorius:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.