diff --git a/README.md b/README.md index c0a4d413..a4ed243e 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ See [Rules.md](doc/Rules.md) for more details. ## Tags +* **accessibility** - MD045 * **atx** - MD018, MD019 * **atx_closed** - MD020, MD021 * **blank_lines** - MD012, MD022, MD031, MD032 @@ -104,6 +105,7 @@ See [Rules.md](doc/Rules.md) for more details. MD024, MD025, MD026, MD036, MD041, MD043 * **hr** - MD035 * **html** - MD033 +* **images** - MD045 * **indentation** - MD005, MD006, MD007, MD027 * **language** - MD040 * **line_length** - MD013 @@ -114,8 +116,6 @@ See [Rules.md](doc/Rules.md) for more details. * **ul** - MD004, MD005, MD006, MD007, MD030, MD032 * **url** - MD034 * **whitespace** - MD009, MD010, MD012, MD027, MD028, MD030, MD037, MD038, MD039 -* **accessibility** - MD045 -* **images** - MD045 ## Configuration diff --git a/doc/Rules.md b/doc/Rules.md index 1cd483c5..d6d5e802 100644 --- a/doc/Rules.md +++ b/doc/Rules.md @@ -1241,7 +1241,7 @@ Set the `code_blocks` parameter to `false` to disable this rule for code blocks. ## MD045 - Images should have ALT Text attribute -Tags: images, accessibility +Tags: accessibility, images Aliases: no-alt-text diff --git a/schema/markdownlint-config-schema.json b/schema/markdownlint-config-schema.json index 155af00d..18660b81 100644 --- a/schema/markdownlint-config-schema.json +++ b/schema/markdownlint-config-schema.json @@ -955,14 +955,14 @@ "additionalProperties": false }, "MD045": { - "description": "MD045/no-alt-text - Images should have non-empty Alt Text", + "description": "MD045/no-alt-text - Images should have ALT Text attribute", "type": "boolean", "default": true }, "no-alt-text": { - "description": "MD045/no-alt-text - Images should have non-empty Alt Text", + "description": "MD045/no-alt-text - Images should have ALT Text attribute", "type": "boolean", - "default": true + "default": true }, "headers": { "description": "headers - MD001, MD002, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043", @@ -1068,6 +1068,16 @@ "description": "spelling - MD044", "type": "boolean", "default": true + }, + "images": { + "description": "images - MD045", + "type": "boolean", + "default": true + }, + "accessibility": { + "description": "accessibility - MD045", + "type": "boolean", + "default": true } }, "additionalProperties": false diff --git a/test/no_alt_text.md b/test/no-alt-text.md similarity index 100% rename from test/no_alt_text.md rename to test/no-alt-text.md diff --git a/test/no_alt_text.json b/test/no_alt_text.json deleted file mode 100644 index aa286a3b..00000000 --- a/test/no_alt_text.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "default": true, - "MD045": true -}