forked from external-repos/pa11y-dashboard
Add WCAG 2.0 link to the footer
This commit is contained in:
3
app.js
3
app.js
@@ -51,8 +51,7 @@ function initApp (config, callback) {
|
|||||||
year: (new Date()).getFullYear(),
|
year: (new Date()).getFullYear(),
|
||||||
version: pkg.version,
|
version: pkg.version,
|
||||||
repo: pkg.homepage,
|
repo: pkg.homepage,
|
||||||
bugtracker: pkg.bugs,
|
bugtracker: pkg.bugs
|
||||||
rules: pkg.snifferules
|
|
||||||
});
|
});
|
||||||
app.express.use(function (req, res, next) {
|
app.express.use(function (req, res, next) {
|
||||||
res.locals.isHomePage = (req.path === '/');
|
res.locals.isHomePage = (req.path === '/');
|
||||||
|
@@ -16,7 +16,6 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/nature/pa11y-dashboard",
|
"homepage": "https://github.com/nature/pa11y-dashboard",
|
||||||
"bugs": "https://github.com/nature/pa11y-dashboard/issues",
|
"bugs": "https://github.com/nature/pa11y-dashboard/issues",
|
||||||
"snifferules": "https://github.com/nature/pa11y/wiki/HTML-CodeSniffer-Rules",
|
|
||||||
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.10"
|
"node": ">=0.10"
|
||||||
|
@@ -7,13 +7,13 @@
|
|||||||
<div class="col-md-5 clearfix">
|
<div class="col-md-5 clearfix">
|
||||||
<ul class="crunch-bottom floated-list nav">
|
<ul class="crunch-bottom floated-list nav">
|
||||||
<li>
|
<li>
|
||||||
<a href="{{repo}}">github repo</a>
|
<a href="{{repo}}">GitHub Repo</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{bugtracker}}">bug tracker</a>
|
<a href="{{bugtracker}}">Bug Tracker</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{{rules}}">list of rules</a>
|
<a href="http://www.w3.org/TR/WCAG20/">WCAG 2.0 spec</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user