website-auditfy
Version:
> Tool for validate your project on SEO, HTML, CSS, JS, TS, Performance, Security and A11Y
20 lines • 914 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MultipleLabeledControlsRule = void 0;
const html_validator_helper_1 = require("../../../linters/html-validator.helper");
class MultipleLabeledControlsRule {
constructor(dom, lightHouse, htmlValidator) {
this.id = 'multiple-labeled-controls';
this.tags = ['html'];
this.description = 'Disallow labels associated with multiple controls';
this.ruleUrl = 'https://html-validate.org//rules/multiple-labeled-controls.html';
this.dom = dom;
this.lightHouse = lightHouse;
this.htmlValidator = htmlValidator;
}
check() {
return html_validator_helper_1.HtmlValidatorUtils.identifyRule(this.id, this.ruleFlow, this.htmlValidator);
}
}
exports.MultipleLabeledControlsRule = MultipleLabeledControlsRule;
//# sourceMappingURL=multiple-labeled-controls.rule.js.map