Skip to content

Commit

Permalink
Optimised the skip link markup.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasgohard committed Oct 8, 2013
1 parent ee0078b commit 2ec086b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
18 changes: 8 additions & 10 deletions site/layouts/default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,14 @@

</head>
<body vocab="http://schema.org/" typeof="WebPage">{{#if environment.test}}{{>test}}{{/if}}
<div id="wb-skip">
<ul id="wb-tphp">
<li id="wb-skip1">
<a class="wb-skip-link" href="#wb-cont">{{#i18n "%tmpl-skip-cont"}}{{/i18n}}</a>
</li>
<li id="wb-skip2">
<a class="wb-skip-link" href="#wb-nav">{{#i18n "%tmpl-skip-foot"}}{{/i18n}}</a>
</li>
</ul>
</div>
<ul id="wb-tphp">
<li class="wb-skip">
<a class="wb-skip-link" href="#wb-cont">{{#i18n "%tmpl-skip-cont"}}{{/i18n}}</a>
</li>
<li class="wb-skip">
<a class="wb-skip-link" href="#wb-nav">{{#i18n "%tmpl-skip-foot"}}{{/i18n}}</a>
</li>
</ul>
<header role="banner">
<div id="wb-banner">
{{>brand}}
Expand Down
18 changes: 8 additions & 10 deletions theme/layouts/theme.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,14 @@

</head>
<body>
<div id="wb-skip">
<ul id="wb-tphp">
<li id="wb-skip1">
<a class="wb-skip-link" href="#wb-cont">{{#i18n "%tmpl-skip-cont"}}{{/i18n}}</a>
</li>
<li id="wb-skip2">
<a class="wb-skip-link" href="#wb-nav">{{#i18n "%tmpl-skip-foot"}}{{/i18n}}</a>
</li>
</ul>
</div>
<ul id="wb-tphp">
<li class="wb-skip">
<a class="wb-skip-link" href="#wb-cont">{{#i18n "%tmpl-skip-cont"}}{{/i18n}}</a>
</li>
<li class="wb-skip">
<a class="wb-skip-link" href="#wb-nav">{{#i18n "%tmpl-skip-foot"}}{{/i18n}}</a>
</li>
</ul>
<header role="banner">
<div id="wb-banner">
{{>brand}}
Expand Down

0 comments on commit 2ec086b

Please sign in to comment.