mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 14:21:13 +00:00
Fix JSCS errors
This commit is contained in:
2
app.js
2
app.js
@@ -58,7 +58,7 @@ function initApp (config, callback) {
|
||||
contentHelperName: 'content',
|
||||
layoutsDir: __dirname + '/view/layout',
|
||||
partialsDir: __dirname + '/view/partial',
|
||||
defaultLayout: __dirname + '/view/layout/default',
|
||||
defaultLayout: __dirname + '/view/layout/default'
|
||||
}));
|
||||
app.express.set('view engine', 'html');
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with pa11y-dashboard. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/* jshint maxlen: false */
|
||||
// jscs:disable maximumLineLength
|
||||
'use strict';
|
||||
|
||||
module.exports = getStandards;
|
||||
@@ -656,10 +656,12 @@ function getStandards () {
|
||||
{
|
||||
name: 'WCAG2AA.Principle1.Guideline1_1.1_1_1.H30.2',
|
||||
description: 'Img element is the only content of the link, but is missing alt text. The alt text should describe the purpose of the link.'
|
||||
}, {
|
||||
},
|
||||
{
|
||||
name: 'WCAG2AA.Principle1.Guideline1_1.1_1_1.H37',
|
||||
description: 'Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.'
|
||||
}, {
|
||||
},
|
||||
{
|
||||
name: 'WCAG2AA.Principle1.Guideline1_1.1_1_1.H67.1',
|
||||
description: 'Img element with empty alt text must have absent or empty title attribute.'
|
||||
},
|
||||
|
Reference in New Issue
Block a user