mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
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(),
|
||||
version: pkg.version,
|
||||
repo: pkg.homepage,
|
||||
bugtracker: pkg.bugs,
|
||||
rules: pkg.snifferules
|
||||
bugtracker: pkg.bugs
|
||||
});
|
||||
app.express.use(function (req, res, next) {
|
||||
res.locals.isHomePage = (req.path === '/');
|
||||
|
@@ -16,7 +16,6 @@
|
||||
},
|
||||
"homepage": "https://github.com/nature/pa11y-dashboard",
|
||||
"bugs": "https://github.com/nature/pa11y-dashboard/issues",
|
||||
"snifferules": "https://github.com/nature/pa11y/wiki/HTML-CodeSniffer-Rules",
|
||||
|
||||
"engines": {
|
||||
"node": ">=0.10"
|
||||
|
@@ -7,13 +7,13 @@
|
||||
<div class="col-md-5 clearfix">
|
||||
<ul class="crunch-bottom floated-list nav">
|
||||
<li>
|
||||
<a href="{{repo}}">github repo</a>
|
||||
<a href="{{repo}}">GitHub Repo</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{bugtracker}}">bug tracker</a>
|
||||
<a href="{{bugtracker}}">Bug Tracker</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{rules}}">list of rules</a>
|
||||
<a href="http://www.w3.org/TR/WCAG20/">WCAG 2.0 spec</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user