UNPKG

website-auditfy

Version:

> Tool for validate your project on SEO, HTML, CSS, JS, TS, Performance, Security and A11Y

20 lines 811 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WcagH71Rule = void 0; const html_validator_helper_1 = require("../../../linters/html-validator.helper"); class WcagH71Rule { constructor(dom, lightHouse, htmlValidator) { this.id = 'wcag-h71'; this.tags = ['html']; this.description = 'WCAG H71: Providing a description for groups of form controls'; this.ruleUrl = 'https://html-validate.org//rules/wcag/h71.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.WcagH71Rule = WcagH71Rule; //# sourceMappingURL=wcag-h71.rule.js.map