/* 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";
// When value is updated either in the tree or sidebar.
exports.VALUE_FLASHING_DURATION = 500; // When new row is selected, flash highlighter.
exports.VALUE_HIGHLIGHT_DURATION = 1000;
// If the panel width is smaller than given amount of pixels, // the sidebar automatically switches from 'landscape' to 'portrait' mode.
exports.PORTRAIT_MODE_WIDTH = 700;
// List of filters for accessibility checks.
exports.FILTERS = {
NONE: "NONE",
ALL: "ALL",
[AUDIT_TYPE.CONTRAST]: "CONTRAST",
[AUDIT_TYPE.KEYBOARD]: "KEYBOARD",
[AUDIT_TYPE.TEXT_LABEL]: "TEXT_LABEL",
};
// Ordered accessible properties to be displayed by the accessible component.
exports.ORDERED_PROPS = [ "name", "role", "actions", "value", "DOMNode", "description", "keyboardShortcut", "childCount", "indexInParent", "states", "relations", "attributes",
];
// Accessible events (emitted by accessible front) that the accessible component // listens to for a current accessible.
exports.ACCESSIBLE_EVENTS = [ "actions-change", "attributes-change", "description-change", "name-change", "reorder", "shortcut-change", "states-change", "text-change", "value-change", "index-in-parent-change",
];
// Telemetry name constants.
exports.A11Y_SERVICE_DURATION = "DEVTOOLS_ACCESSIBILITY_SERVICE_TIME_ACTIVE_SECONDS";
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.