Replaces display:none with hidden-accessible class recommended by Nic

This commit is contained in:
Christopher Neugebauer 2017-08-17 09:49:57 -07:00
parent a7c3259216
commit 5c2fdb5863
2 changed files with 14 additions and 1 deletions

View file

@ -42,7 +42,7 @@
action="https://tinyletter.com/northbaypython" method="post" target="popupwindow" onsubmit="window.open('https://tinyletter.com/northbaypython', 'popupwindow', 'scrollbars=yes,width=800,height=600');return true">
<div class="form-group">
<span>
<label style="display: none;" for="tlemail">Email address:</label>
<label class="hidden-accessible" for="tlemail">Email address:</label>
</span>
<span>
<input class="form-control" type="email" name="email" id="tlemail" placeholder="E-mail address"/>

View file

@ -103,6 +103,19 @@ body.auth .panel-heading .panel-title span.pull-right {
box-shadow: 0px 0px 2em $background-filter; //, inset 0px -5px 1em rgba(0, 0, 0, 0.8);
}
.hidden-accessible {
border:0 none;
clip:rect(0px,0px,0px,0px);
height:1px;
margin:-1px;
overflow:hidden;
padding:0;
position:absolute;
width:1px
}
$homepage-block-min-height: 480px;
.homepage-block {