Nicholas Lindley

On Day 62 I wrote about the inaccessibility of Exaptive’s login. Well, they’ve updated their site, and that process is less painful. I might do a deep dive into the overall implementation another night, but I couldn’t resist inspecting the new link to “login/signup.” (Let’s ignore how those each should be two words for now.)

<button onclick="window.location.href='login.html'" class="btn-group btn-login-top">login / signup</button>

Did I say link? I guess I meant button. And setting the window location with JavaScript? Turns out, there’s already a perfect element that does all this for you: the hyperlink!