diff --git a/lighthouse-cli/test/cli/__snapshots__/index-test.js.snap b/lighthouse-cli/test/cli/__snapshots__/index-test.js.snap index c9b115485434..ac884fe745c8 100644 --- a/lighthouse-cli/test/cli/__snapshots__/index-test.js.snap +++ b/lighthouse-cli/test/cli/__snapshots__/index-test.js.snap @@ -1081,9 +1081,6 @@ Object { Object { "path": "chrome-console-messages", }, - Object { - "path": "accessibility", - }, Object { "path": "anchor-elements", }, @@ -1132,6 +1129,9 @@ Object { Object { "path": "seo/tap-targets", }, + Object { + "path": "accessibility", + }, ], "networkQuietThresholdMs": 1000, "passName": "defaultPass", diff --git a/lighthouse-cli/test/fixtures/byte-efficiency/tester.html b/lighthouse-cli/test/fixtures/byte-efficiency/tester.html index 4b617c90bfd5..17e1372dcde4 100644 --- a/lighthouse-cli/test/fixtures/byte-efficiency/tester.html +++ b/lighthouse-cli/test/fixtures/byte-efficiency/tester.html @@ -144,6 +144,7 @@
Add some text here so axe will scroll to the bottom
diff --git a/lighthouse-cli/test/smokehouse/byte-config.js b/lighthouse-cli/test/smokehouse/byte-config.js index cb901fa93513..d3b2977e408e 100644 --- a/lighthouse-cli/test/smokehouse/byte-config.js +++ b/lighthouse-cli/test/smokehouse/byte-config.js @@ -12,6 +12,7 @@ module.exports = { extends: 'lighthouse:full', settings: { onlyAudits: [ + 'accesskeys', // run axe on the page since we've had problems with interactions 'network-requests', 'offscreen-images', 'uses-webp-images', diff --git a/lighthouse-core/config/default-config.js b/lighthouse-core/config/default-config.js index 2efd553d2eab..82b346a19ffd 100644 --- a/lighthouse-core/config/default-config.js +++ b/lighthouse-core/config/default-config.js @@ -102,7 +102,6 @@ const defaultConfig = { 'viewport-dimensions', 'runtime-exceptions', 'chrome-console-messages', - 'accessibility', 'anchor-elements', 'image-elements', 'link-elements', @@ -119,6 +118,8 @@ const defaultConfig = { 'seo/embedded-content', 'seo/robots-txt', 'seo/tap-targets', + // Always run axe last because it scrolls the page down to the bottom + 'accessibility', ], }, {