Make timer toggle accessible

This commit is contained in:
Joshua Spayd
2017-07-26 18:41:06 +00:00
parent db6f59987d
commit dc22ec5018
2 changed files with 6 additions and 4 deletions

View File

@@ -103,10 +103,10 @@
.exam-timer-clock {
background-color: transparent;
border: 1px solid $white;
a, b {
#toggle_timer, b {
color: $white;
}
a {
#toggle_timer {
// Overrides:
border-top: none;
border-right: none;
@@ -152,7 +152,7 @@
background-color: $gray-l3;
border-radius: 3px;
a {
#toggle_timer {
@extend .exam-button-turn-in-exam;
//Overrides:

View File

@@ -24,7 +24,9 @@
<b>
</b>
</span>
<a id="toggle_timer" href="#" title="<%- gettext("Hide Timer") %>"><i class="fa fa-eye-slash" aria-hidden="true"></i></a>
<button id="toggle_timer" title="<%- gettext("Hide Timer") %>" aria-label="<%- gettext("Hide Timer") %>">
<i class="fa fa-eye-slash" aria-hidden="true"></i>
</button>
</span>
</div>
</div>