@markuplint/config-presets 4.4.0 → 4.5.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.
- package/CHANGELOG.md +15 -0
- package/README.md +2 -0
- package/package.json +2 -2
- package/preset.a11y.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [4.5.0](https://github.com/markuplint/markuplint/compare/@markuplint/config-presets@4.5.0-alpha.0...@markuplint/config-presets@4.5.0) (2024-05-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @markuplint/config-presets
|
|
9
|
+
|
|
10
|
+
# [4.5.0-alpha.0](https://github.com/markuplint/markuplint/compare/@markuplint/config-presets@4.4.0...@markuplint/config-presets@4.5.0-alpha.0) (2024-05-04)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **presets:** add `table-row-column-alignment` to presets ([7dae88b](https://github.com/markuplint/markuplint/commit/7dae88b48b81be589b32a475870e6b6a277ef775))
|
|
15
|
+
- **rules:** apply `no-ambiguous-navigable-target-names` to build-in rules ([93d34f0](https://github.com/markuplint/markuplint/commit/93d34f0ead2624107a5b6f315af0c8bbd4f1e1ec))
|
package/README.md
CHANGED
|
@@ -30,10 +30,12 @@ Ruleset|Description|`recommended`|`recommended-vue`|`recommended-svelte`|`recomm
|
|
|
30
30
|
`<label>` should have control| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
|
31
31
|
[Use **landmark**](https://www.w3.org/TR/wai-aria-practices/examples/landmarks/)| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
|
32
32
|
**Popover** trigger and target must be adjacent| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
|
33
|
+
[No ambiguous **Navigable Target Names**](https://html.spec.whatwg.org/multipage/document-sequences.html#navigable-target-names)| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
|
33
34
|
No consecutive `<br>`| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
|
34
35
|
No refer to no existent **ID**| |✅|✅|✅|✅|✅|✅|❌|✅|❌|❌|❌|
|
|
35
36
|
Require **accessible name**| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
|
36
37
|
Require `<h1>`| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
|
38
|
+
Align row and column| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
|
37
39
|
Use `<ul>`| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
|
38
40
|
Conform to **WAI-ARIA**| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
|
39
41
|
Require `<html lang>`| |✅|✅|✅|✅|✅|✅|❌|❌|❌|❌|❌|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/config-presets",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "markuplint config presets",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"jsonc-parser": "3.2.1",
|
|
18
18
|
"mustache": "4.2.0"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "7a5967fce14fdf66f0d8eae9d93ae5b350648d3d"
|
|
21
21
|
}
|
package/preset.a11y.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"rules":{"id-duplication":true,"invalid-attr":{"options":{"disallowAttrs":["accesskey"],"allowAttrs":[{"name":"tabindex","value":{"enum":["-1","0"]}}]}},"label-has-control":true,"landmark-roles":true,"neighbor-popovers":true,"no-consecutive-br":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":{"disallowAttrs":["colspan","rowspan"]}}}},{"selector":":where(summary)","rules":{"disallowed-element":[":model(interactive)"]}},{"selector":":where(:not(dialog, dialog *))","rules":{"invalid-attr":{"options":{"disallowAttrs":["autofocus"]}}}}]}
|
|
1
|
+
{"rules":{"id-duplication":true,"invalid-attr":{"options":{"disallowAttrs":["accesskey"],"allowAttrs":[{"name":"tabindex","value":{"enum":["-1","0"]}}]}},"label-has-control":true,"landmark-roles":true,"neighbor-popovers":true,"no-ambiguous-navigable-target-names":true,"no-consecutive-br":true,"no-refer-to-non-existent-id":true,"require-accessible-name":true,"required-h1":true,"table-row-column-alignment":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":{"disallowAttrs":["colspan","rowspan"]}}}},{"selector":":where(summary)","rules":{"disallowed-element":[":model(interactive)"]}},{"selector":":where(:not(dialog, dialog *))","rules":{"invalid-attr":{"options":{"disallowAttrs":["autofocus"]}}}}]}
|