aboutsummaryrefslogtreecommitdiff
path: root/guidelines/accessibility/guideline-2.js
diff options
context:
space:
mode:
Diffstat (limited to 'guidelines/accessibility/guideline-2.js')
-rw-r--r--guidelines/accessibility/guideline-2.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/guidelines/accessibility/guideline-2.js b/guidelines/accessibility/guideline-2.js
index f3dc1e5..7dcf28d 100644
--- a/guidelines/accessibility/guideline-2.js
+++ b/guidelines/accessibility/guideline-2.js
@@ -1,6 +1,15 @@
exports.name = "colorDifference";
exports.description = "Elements should provide sufficient color difference";
exports.rule = function(report) {
+
+ /* Checkpoint 2.1 ***********************************************************/
+
+ // TODO: not sure about the best way to test that information isn't hidden
+ // when colors go away.
+
+
+ /* Checkpoint 2.2 ***********************************************************/
+
var fc = fiveui.color;
var MIN_COLOR_DIFF = 500; // http://www.w3.org/TR/2000/WD-AERT-20000426#color