From 88f2d64ba47ec569bee295c6763f018020b94ad0 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Thu, 8 Feb 2018 22:01:01 +0000 Subject: [PATCH] misc(spelling): fix discernable to discernible See #2489. See #2496. --- lighthouse-core/audits/accessibility/link-name.js | 2 +- lighthouse-core/config/default.js | 2 +- lighthouse-core/test/fixtures/dbw_tester-perf-results.json | 2 +- lighthouse-core/test/results/sample_v2.json | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lighthouse-core/audits/accessibility/link-name.js b/lighthouse-core/audits/accessibility/link-name.js index d6178011295b..84518f2bb3e5 100644 --- a/lighthouse-core/audits/accessibility/link-name.js +++ b/lighthouse-core/audits/accessibility/link-name.js @@ -20,7 +20,7 @@ class LinkName extends AxeAudit { return { name: 'link-name', description: 'Links have a discernible name', - failureDescription: 'Links do not have a discernable name', + failureDescription: 'Links do not have a discernible name', helpText: 'Link text (and alternate text for images, when used as links) that is ' + 'discernible, unique, and focusable improves the navigation experience for ' + 'screen reader users. ' + diff --git a/lighthouse-core/config/default.js b/lighthouse-core/config/default.js index f82845fedef0..b2dd601aea31 100644 --- a/lighthouse-core/config/default.js +++ b/lighthouse-core/config/default.js @@ -219,7 +219,7 @@ module.exports = { description: 'These are opportunities to improve the configuration of your HTML elements.', }, 'a11y-element-names': { - title: 'Elements Have Discernable Names', + title: 'Elements Have Discernible Names', description: 'These are opportunities to improve the semantics of the controls in your application. This may enhance the experience for users of assistive technology, like a screen reader.', }, 'a11y-language': { diff --git a/lighthouse-core/test/fixtures/dbw_tester-perf-results.json b/lighthouse-core/test/fixtures/dbw_tester-perf-results.json index b94c11906f45..65ff2a5b6f66 100644 --- a/lighthouse-core/test/fixtures/dbw_tester-perf-results.json +++ b/lighthouse-core/test/fixtures/dbw_tester-perf-results.json @@ -2353,7 +2353,7 @@ "description": "Screen readers and other assitive technologies require annotations to understand otherwise ambiguous content." }, "a11y-element-names": { - "title": "Elements Have Discernable Names", + "title": "Elements Have Discernible Names", "description": "Screen readers and other assitive technologies require annotations to understand otherwise ambiguous content." }, "a11y-language": { diff --git a/lighthouse-core/test/results/sample_v2.json b/lighthouse-core/test/results/sample_v2.json index c6fd5fe34553..b448ffe683ef 100644 --- a/lighthouse-core/test/results/sample_v2.json +++ b/lighthouse-core/test/results/sample_v2.json @@ -1463,7 +1463,7 @@ "scoringMode": "binary", "name": "link-name", "category": "Accessibility", - "description": "Links have a discernable name.", + "description": "Links have a discernible name.", "helpText": "Link text (and alternate text for images, when used as links) that is discernible, not duplicated, and focusable improves the navigating experience for screen reader users." }, "list": { @@ -5476,7 +5476,7 @@ "scoringMode": "binary", "name": "link-name", "category": "Accessibility", - "description": "Links have a discernable name.", + "description": "Links have a discernible name.", "helpText": "Link text (and alternate text for images, when used as links) that is discernible, not duplicated, and focusable improves the navigating experience for screen reader users." }, "score": 100 @@ -6922,7 +6922,7 @@ "description": "Screen readers and other assistive technologies require annotations to understand otherwise ambiguous content." }, "a11y-element-names": { - "title": "Elements Have Discernable Names", + "title": "Elements Have Discernible Names", "description": "Screen readers and other assistive technologies require annotations to understand otherwise ambiguous content." }, "a11y-language": {