Skip to content

Commit 1041294

Browse files
authored
Add no-alt-text rule to accessibility.json (#18)
* Add no-alt-text rule * Update test
1 parent ecb590a commit 1041294

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

style/accessibility.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"no-alt-text": true,
23
"no-default-alt-text": true,
34
"no-duplicate-header": true,
45
"no-emphasis-as-header": true,

test/usage.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ describe("usage", () => {
2525
"no-blanks-blockquote": false,
2626
"fenced-code-language": true,
2727
"no-default-alt-text": true,
28+
"no-alt-text": true,
2829
});
2930
});
3031

0 commit comments

Comments
 (0)