Sha256: 8840fcf35151d7852cb034e1f6c22ac35a6e71049c65791bb12870fcb9520ab3
Contents?: true
Size: 739 Bytes
Versions: 375
Compression:
Stored size: 739 Bytes
Contents
/*exported RuleResult */ /*eslint no-unused-vars:0*/ /** * Constructor for the result of Rules * @param {Rule} rule */ function RuleResult(rule) { 'use strict'; /** * The ID of the Rule whom this result belongs to * @type {String} */ this.id = rule.id; /** * The calculated result of the Rule, either PASS, FAIL or NA * @type {String} */ this.result = axe.constants.NA; /** * Whether the Rule is a "pageLevel" rule * @type {Boolean} */ this.pageLevel = rule.pageLevel; /** * Impact of the violation * @type {String} Plain-english impact or null if rule passes */ this.impact = null; /** * Holds information regarding nodes and individual CheckResults * @type {Array} */ this.nodes = []; }
Version data entries
375 entries across 375 versions & 1 rubygems