@markuplint/config-presets
Advanced tools
Comparing version 3.3.0 to 3.4.0
{ | ||
"name": "@markuplint/config-presets", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"description": "markuplint config presets", | ||
@@ -20,3 +20,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
}, | ||
"gitHead": "791fb22a4df7acb985ced3808923fba0cd95c28a" | ||
"gitHead": "0c47b2c2722f6823a17f36edbab98486275f8ab4" | ||
} |
@@ -1,1 +0,1 @@ | ||
{"rules":{"id-duplication":true,"invalid-attr":{"options":{"attrs":{"accesskey":{"disallowed":true},"tabindex":{"enum":["-1","0"]}}}},"label-has-control":true,"landmark-roles":true,"no-refer-to-non-existent-id":true,"require-accessible-name":true,"required-h1":true,"use-list":true,"wai-aria":true},"nodeRules":[{"selector":":where(html)","rules":{"required-attr":["lang"]}},{"selector":":where(abbr)","rules":{"required-attr":["title"]}},{"selector":":where(video, audio)","rules":{"required-element":["track"]}},{"selector":":where(video[autoplay])","rules":{"required-attr":["muted"]}},{"selector":":where(th, td)","rules":{"invalid-attr":{"options":{"attrs":{"colspan":{"disallowed":true},"rowspan":{"disallowed":true}}}}}},{"selector":":where(summary)","rules":{"disallowed-element":[":model(interactive)"]}},{"selector":":where(:not(dialog, dialog *))","rules":{"invalid-attr":{"options":{"attrs":{"autofocus":{"disallowed":true}}}}}}]} | ||
{"rules":{"id-duplication":true,"invalid-attr":{"options":{"attrs":{"accesskey":{"disallowed":true},"tabindex":{"enum":["-1","0"]}}}},"label-has-control":true,"landmark-roles":true,"no-refer-to-non-existent-id":true,"require-accessible-name":true,"required-h1":true,"use-list":true,"wai-aria":true},"nodeRules":[{"selector":":where(html)","rules":{"required-attr":["lang"]}},{"selector":":where(abbr)","rules":{"required-attr":["title"]}},{"selector":":where(video, audio)","rules":{"required-element":["track"]}},{"selector":":where(video[autoplay])","rules":{"required-attr":["muted"]}},{"selector":":where(th, td)","rules":{"invalid-attr":{"options":{"attrs":{"colspan":{"disallowed":true},"rowspan":{"disallowed":true}}}}}},{"selector":":where(summary)","rules":{"disallowed-element":[":model(interactive)"]}},{"selector":":where(:not(dialog, dialog *))","rules":{"invalid-attr":{"options":{"attrs":{"autofocus":{"disallowed":true}}}}}},{"selector":":where(search)","rules":{"required-attr":{"value":[{"name":"role"}]},"wai-aria":{"options":{"disallowSetImplicitRole":false}}}}]} |
@@ -44,2 +44,3 @@ # @markuplint/config-presets | ||
[Disallow `autofocus` attr to except in the dialog scope](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus#accessibility_considerations)|Don't take away a focus to forced. However, the `dialog` element and its descendants allow it.|✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌| | ||
[`<search>` requires `search` role](https://github.com/markuplint/markuplint/issues/762#issuecomment-1483113405)|It requires the role of an interim measure because some browsers or ATs are not supporting it yet.|✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌| | ||
[No duplicate attr](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-duplicate-attribute)|The parser ignores all such duplicate occurrences of the attribute.|✅|✅|✅|✅|✅|❌|❌|✅|❌|❌|❌| | ||
@@ -46,0 +47,0 @@ Use **character reference**| |✅|✅|✅|✅|✅|❌|❌|✅|❌|❌|❌| |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12222
82