Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for skiplinks
Updated styles + header update to point to the correct ID for nav skip
  • Loading branch information
bcd04001 committed Sep 11, 2018
1 parent ef59b52 commit ffd92e7
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 58 deletions.
2 changes: 1 addition & 1 deletion header.php
Expand Up @@ -43,7 +43,7 @@ if (/*@cc_on!@*/false) {
<!--[if IE 8]> <div class="ie ie8 lte9 lte8"> <![endif]-->
<!--[if IE 9]> <div class="ie ie9 lte9"> <![endif]-->
<nav id="skiplinks">
<a href="#site-navigation">Skip to Navigation</a>
<a href="#nav-wrapper">Skip to Navigation</a>
<a href="#uc-search">Skip to UConn Search</a>
<a href="#content">Skip to Content</a>
</nav>
Expand Down
27 changes: 20 additions & 7 deletions sass/_accessibility.scss
Expand Up @@ -3,12 +3,25 @@
- - - - - - - - - - - - - - - - - - - */

#skiplinks {
position: absolute;
left:0;
top:0;
visibility: hidden;
height: 0;
width: 0;
visibility:visible;

a {
left:-10000px;
position:absolute;

&:focus {
left:34px;
top:34px;
background-color:#fff;
box-shadow:4px 4px 6px #3e3e3e;
padding:10px;
min-width:210px;
font-weight:700;
font-size:18px;
text-decoration:none;
color:#107ac8;
}
}
}

@mixin grayscale_element($value) {
Expand All @@ -33,4 +46,4 @@
}
.accessibility-fail-msg a {
text-decoration: underline;
}
}
105 changes: 57 additions & 48 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion style.scss
Expand Up @@ -29,4 +29,4 @@ $icon-font-path: "../../global/bootstrap-3.3.4/fonts/bootstrap/" !default;
@import "sass/_cal.scss";
@import "sass/_in-page-menus.scss";
@import "sass/_footer.scss";
@import "sass/_page-builder.scss";
@import "sass/_page-builder.scss";

0 comments on commit ffd92e7

Please sign in to comment.