BrowserID widget does not work & displays no error if JavaScript is disabled
Bug #1066177 reported by
Terri
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.
To post a comment you must log in.
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.