From cc4fa544ed8e7dbba5878680fe20a64078c83636 Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Thu, 22 Dec 2022 12:52:48 -0500 Subject: [PATCH 1/2] Add heading increment rule --- style/accessibility.json | 1 + 1 file changed, 1 insertion(+) diff --git a/style/accessibility.json b/style/accessibility.json index 5cabea5..683d4c2 100644 --- a/style/accessibility.json +++ b/style/accessibility.json @@ -4,6 +4,7 @@ "no-duplicate-header": true, "no-emphasis-as-header": true, "no-generic-link-text": true, + "no-heading-increment": true, "no-space-in-links": false, "ol-prefix": "ordered", "single-h1": true, From c9941262a30bd98bcac8a6ee75b65596561ed429 Mon Sep 17 00:00:00 2001 From: Kate Higa Date: Thu, 22 Dec 2022 12:57:46 -0500 Subject: [PATCH 2/2] Fix test --- test/usage.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/usage.test.js b/test/usage.test.js index 0babd2e..1d3fa4b 100644 --- a/test/usage.test.js +++ b/test/usage.test.js @@ -17,6 +17,7 @@ describe("usage", () => { "no-space-in-links": false, "single-h1": true, "no-emphasis-as-header": true, + "no-heading-increment": true, "no-generic-link-text": true, "ul-style": true, default: true,