Merge pull request #13314 from edx/tasawer/bugfix/ecom-5301-hyperlink-fixed-to-be-accessed-with-keyboard

Heperlink changed to button to be accessed with keyboard users
This commit is contained in:
Tasawer Nawaz
2016-08-29 19:30:34 +05:00
committed by GitHub
2 changed files with 9 additions and 4 deletions

View File

@@ -147,9 +147,14 @@
.retake-photos {
color: $blue;
background:none!important;
border:0!important;
padding:0!important;
box-shadow: none;
cursor: pointer;
&:hover {
cursor: pointer;
&:hover, &:focus {
text-decoration: underline;
}
}

View File

@@ -49,9 +49,9 @@
<div class="copy">
<p>
<%- gettext( "Photos don't meet the requirements?" ) %>
<a id="retake_photos_button" class="retake-photos">
<button id="retake_photos_button" class="retake-photos">
<%- gettext( "Retake Your Photos" ) %>
</a>
</button>
</p>
</div>
</div>