html-validate 7.4.0 → 7.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/core.js CHANGED
@@ -3194,7 +3194,7 @@ var TRANSFORMER_API;
3194
3194
  /** @public */
3195
3195
  const name = "html-validate";
3196
3196
  /** @public */
3197
- const version = "7.4.0";
3197
+ const version = "7.4.1";
3198
3198
  /** @public */
3199
3199
  const homepage = "https://html-validate.org";
3200
3200
  /** @public */
@@ -6291,10 +6291,10 @@ class InputMissingLabel extends Rule {
6291
6291
  if (isHTMLHidden(elem) || isAriaHidden(elem)) {
6292
6292
  return;
6293
6293
  }
6294
- /* hidden, submit or button should not have label */
6294
+ /* hidden, submit, reset or button should not have label */
6295
6295
  if (elem.is("input")) {
6296
6296
  const type = (_a = elem.getAttributeValue("type")) === null || _a === void 0 ? void 0 : _a.toLowerCase();
6297
- const ignored = ["hidden", "submit", "button"];
6297
+ const ignored = ["hidden", "submit", "reset", "button"];
6298
6298
  if (type && ignored.includes(type)) {
6299
6299
  return;
6300
6300
  }