From c4664b3cd5974afcecb19f56f7207bc3e30f207d Mon Sep 17 00:00:00 2001 From: Patrick Hulce Date: Wed, 10 Jul 2019 16:50:30 -0500 Subject: [PATCH] deps: update axe-core to 3.3.0 (#9343) --- lighthouse-cli/test/smokehouse/a11y/expectations.js | 2 +- lighthouse-core/gather/gatherers/accessibility.js | 2 ++ package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lighthouse-cli/test/smokehouse/a11y/expectations.js b/lighthouse-cli/test/smokehouse/a11y/expectations.js index 9f29e47c34..214b4fee21 100644 --- a/lighthouse-cli/test/smokehouse/a11y/expectations.js +++ b/lighthouse-cli/test/smokehouse/a11y/expectations.js @@ -121,7 +121,7 @@ module.exports = [ 'type': 'node', 'selector': '#button-name', 'snippet': '', - 'explanation': 'Fix all of the following:\n Element is in tab order and does not have accessible text\n\nFix any of the following:\n Element has a value attribute and the value attribute is empty\n Element has no value attribute or the value attribute is empty\n Element does not have inner text that is visible to screen readers\n aria-label attribute does not exist or is empty\n aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty\n Element\'s default semantics were not overridden with role="presentation"\n Element\'s default semantics were not overridden with role="none"\n Element has no title attribute or the title attribute is empty', + 'explanation': 'Fix any of the following:\n Element does not have inner text that is visible to screen readers\n aria-label attribute does not exist or is empty\n aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty\n Element\'s default semantics were not overridden with role="presentation"\n Element\'s default semantics were not overridden with role="none"\n Element has no title attribute or the title attribute is empty', 'nodeLabel': 'button', }, }, diff --git a/lighthouse-core/gather/gatherers/accessibility.js b/lighthouse-core/gather/gatherers/accessibility.js index d8cbcb6556..e4aa8b491e 100644 --- a/lighthouse-core/gather/gatherers/accessibility.js +++ b/lighthouse-core/gather/gatherers/accessibility.js @@ -47,6 +47,8 @@ function runA11yChecks() { 'server-side-image-map': {enabled: false}, 'aria-hidden-focus': {enabled: false}, 'form-field-multiple-labels': {enabled: false}, + 'aria-input-field-name': {enabled: false}, + 'aria-toggle-field-name': {enabled: false}, }, // @ts-ignore }).then(axeResult => { diff --git a/package.json b/package.json index 9fd297a150..812c02607d 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "zone.js": "^0.7.3" }, "dependencies": { - "axe-core": "3.2.2", + "axe-core": "3.3.0", "chrome-launcher": "^0.11.1", "configstore": "^3.1.1", "cssstyle": "1.2.1", diff --git a/yarn.lock b/yarn.lock index fe05320f0f..5977a591b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1135,10 +1135,10 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ== -axe-core@3.2.2: - version "3.2.2" - resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-3.2.2.tgz#b06d6e9ae4636d706068843272bfaeed3fe97362" - integrity sha512-gAy4kMSPpuRJV3mwictJqlg5LhE84Vw2CydKdC4tvrLhR6+G3KW51zbL/vYujcLA2jvWOq3HMHrVeNuw+mrLVA== +axe-core@3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-3.3.0.tgz#3b32d7e54390d89ff4891b20394d33ad7a192776" + integrity sha512-54XaTd2VB7A6iBnXMUG2LnBOI7aRbnrVxC5Tz+rVUwYl9MX/cIJc/Ll32YUoFIE/e9UKWMZoQenQu9dFrQyZCg== axios@0.15.3: version "0.15.3"