Skip to content

Commit

Permalink
fix/ remove iframe tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotrpmorris-zz committed May 9, 2019
1 parent 69adff8 commit 6bd8943
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/partials/image-viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>
</div>
</div>
<a class="image-viewer__text"
<a tabindex=0 class="image-viewer__text"
><i aria-hidden="true" class="image-viewer__icon fas fa-camera"></i> View images (4)</a
>
</div>
2 changes: 1 addition & 1 deletion src/partials/page/media.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h5 class="section__subtitle">Image</h5>
/>
</div>
</div>
<a class="image-viewer__text"
<a tabindex=0 class="image-viewer__text"
><i aria-hidden="true" class="image-viewer__icon fas fa-camera"></i> View images (4)</a
>
</div>
Expand Down
5 changes: 5 additions & 0 deletions src/scss/utils/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ blockquote {
/* Remove underline */
a {
text-decoration: none;

&:focus,
&:active {
text-decoration: underline;
}
}

/* Remove italics */
Expand Down
12 changes: 10 additions & 2 deletions src/service.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ <h2 class="service__title">What is this group?</h2>
<include src="./image-viewer.html"></include>
<!--Mobile Embeded video-->
<iframe
tabindex="-1"
title="Service video"
class="service__video video video--mobile"
src="https://www.youtube.com/embed/tgbNymZ7vqY"
Expand Down Expand Up @@ -71,6 +72,7 @@ <h2 class="service__title service__title--accordion">
<aside class="col-xsmall-12 col-medium-4">
<!--Dekstop Embeded video-->
<iframe
tabindex="-1"
title="Service video"
class="service__video video"
src="https://www.youtube.com/embed/tgbNymZ7vqY"
Expand Down Expand Up @@ -104,15 +106,21 @@ <h2 class="service__title service__title--accordion">
>
<button class="btn btn--alt btn--alt--m">
Print page
<i aria-hidden="true" class="btn__icon btn__icon--share fas fa-print"></i>
<i
aria-hidden="true"
class="btn__icon btn__icon--share fas fa-print"
></i>
</button>
</div>
<div
class="service__social--second-row col-xsmall-6 col-small-7 col-medium-12 col-large-12 col-xlarge-7 -xsmall-no-gutters"
>
<button class="btn btn--alt btn--alt--m">
Add to favourites
<i aria-hidden="true" class="btn__icon btn__icon--share fas fa-star"></i>
<i
aria-hidden="true"
class="btn__icon btn__icon--share fas fa-star"
></i>
</button>
</div>
<div
Expand Down

0 comments on commit 6bd8943

Please sign in to comment.