OpenHumans / open-humans

Powering openhumans.org
https://www.openhumans.org/
MIT License
73 stars 22 forks source link

Make sure modals use progressive enhancement [3] #8

Closed beaugunderson closed 9 years ago

beaugunderson commented 9 years ago

That is, they should work if the user does not have JavaScript enabled.

This is as simple as specifying the correct href for links that open modals so that a user without JavaScript enabled visits a page instead.

beaugunderson commented 9 years ago

This was slightly more complicated than just adding the href; I also had to switch from using data-target and data-toggle="modal" to opening the modals via JavaScript.

Sign up and log in are done but there are still some like the 23andMe modal that need to be updated.