2019-04-10 18:36:00 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Constants used in various panels, shared between client and the server.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Accessibility Panel ====================================================== */
|
|
|
|
|
|
|
|
exports.accessibility = {
|
|
|
|
// List of audit types.
|
|
|
|
AUDIT_TYPE: {
|
|
|
|
CONTRAST: "CONTRAST",
|
|
|
|
},
|
2019-04-16 14:53:07 +00:00
|
|
|
// Constants associated with WCAG guidelines score system:
|
|
|
|
// failing -> AA -> AAA;
|
2019-04-27 13:33:27 +00:00
|
|
|
SCORES: {
|
2019-04-16 14:53:07 +00:00
|
|
|
FAIL: "fail",
|
|
|
|
AA: "AA",
|
|
|
|
AAA: "AAA",
|
|
|
|
},
|
2019-04-10 18:36:00 +00:00
|
|
|
};
|