Commit 2dde742f by Giulio Gratta

made login form labels and close modal button accessible friendly

parent 72584b59
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
} }
label { label {
color: #999; color: #646464;
&.field-error { &.field-error {
display: block; display: block;
......
...@@ -9,14 +9,17 @@ ...@@ -9,14 +9,17 @@
</header> </header>
<form id="login_form" class="login_form" method="post" data-remote="true" action="/login"> <form id="login_form" class="login_form" method="post" data-remote="true" action="/login">
<label>E-mail</label> <label for="login_email">E-mail</label>
<input name="email" type="email"> <input id="login_email" type="email" name="email" placeholder="e.g. jane.doe@email.com" />
<label>Password</label>
<input name="password" type="password"> <label for="login_password">Password</label>
<label class="remember-me"> <input id="login_password" type="password" name="password" placeholder="&bull;&bull;&bull;&bull;&bull;&bull;&bull;&bull;" />
<input name="remember" type="checkbox" value="true">
<label for="login_remember_me" class="remember-me">
<input id="login_remember_me" type="checkbox" name="remember" value="true" />
Remember me Remember me
</label> </label>
<div class="submit"> <div class="submit">
<input name="submit" type="submit" value="Access My Courses"> <input name="submit" type="submit" value="Access My Courses">
</div> </div>
...@@ -34,11 +37,11 @@ ...@@ -34,11 +37,11 @@
% endif % endif
</section> </section>
<div class="close-modal"> <a href="javascript:void(0);" class="close-modal" title="Close Modal">
<div class="inner"> <div class="inner">
<p>&#10005;</p> <p>&#10005;</p>
</div> </div>
</div> </a>
</div> </div>
</section> </section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment