diff options
Diffstat (limited to 'exampleData')
-rw-r--r-- | exampleData/ruleSets/accessibility/colorBrightness.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/exampleData/ruleSets/accessibility/colorBrightness.js b/exampleData/ruleSets/accessibility/colorBrightness.js index 2f5db75..82c7b9b 100644 --- a/exampleData/ruleSets/accessibility/colorBrightness.js +++ b/exampleData/ruleSets/accessibility/colorBrightness.js @@ -38,11 +38,7 @@ exports.rule = function(report) { if (fg && bg) { var diff = brightDiff(fg, bg); if (diff < MIN_DIFF) { - report.error('Element has poor brightness difference: ' + - 'fg = ' + JSON.stringify(fg) + - ', fgb = ' + bright(fg) + - ', bg = ' + JSON.stringify(bg) + - ', bgb = ' + bright(bg), this); + report.error('Element has poor brightness difference: ' + diff, this); } } }); |