html-validate 8.28.0 → 8.29.0

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.
@@ -1310,7 +1310,9 @@ var html5 = metaHelper.defineMetadata({
1310
1310
  disablable: true,
1311
1311
  listed: true
1312
1312
  },
1313
- labelable: ["matchAttribute", ["type", "!=", "hidden"]],
1313
+ labelable(node) {
1314
+ return node.getAttribute("type") !== "hidden";
1315
+ },
1314
1316
  attributes: {
1315
1317
  align: {
1316
1318
  deprecated: true