Skip to content
This repository has been archived by the owner on Aug 9, 2018. It is now read-only.

Accessibility skip nav link #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sass/partials/_content-design.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ a:active {
}
}

.visually-hidden {
@extend %visuallyhidden;
}


/* ===================================================================== HEADERS */

Expand Down
4 changes: 3 additions & 1 deletion template.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
<div id="logo" role="banner">
<a href="#">SITE LOGO</a>
</div>

<div class="visually-hidden"><a href="#maincontent">skip to main content</a></div>

<div class="nav-utility">
<ul>
Expand Down Expand Up @@ -78,7 +80,7 @@


<div class="torso">
<div class="content" role="main">
<div class="content" role="main" id="content">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like your id doesn't match your anchor link above.


<h1 class="page-header">Page Header</h1>

Expand Down