Skip to content

Commit c5f6d05

Browse files
committed
report(grammar): do not finalize audit titles with a period
1 parent d713e44 commit c5f6d05

33 files changed

+56
-56
lines changed

lighthouse-core/audits/accessibility/accesskeys.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class Accesskeys extends AxeAudit {
1919
static get meta() {
2020
return {
2121
name: 'accesskeys',
22-
description: '`[accesskey]` values are unique.',
23-
failureDescription: '`[accesskey]` values are not unique.',
22+
description: '`[accesskey]` values are unique',
23+
failureDescription: '`[accesskey]` values are not unique',
2424
helpText: 'Access keys let users quickly focus a part of the page. For proper ' +
2525
'navigation, each access key must be unique. ' +
2626
'[Learn more](https://dequeuniversity.com/rules/axe/2.2/accesskeys?application=lighthouse).',

lighthouse-core/audits/accessibility/aria-allowed-attr.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class ARIAAllowedAttr extends AxeAudit {
1919
static get meta() {
2020
return {
2121
name: 'aria-allowed-attr',
22-
description: '`[aria-*]` attributes match their roles.',
23-
failureDescription: '`[aria-*]` attributes do not match their roles.',
22+
description: '`[aria-*]` attributes match their roles',
23+
failureDescription: '`[aria-*]` attributes do not match their roles',
2424
helpText: 'Each ARIA `role` supports a specific subset of `aria-*` attributes. ' +
2525
'Mismatching these invalidates the `aria-*` attributes. [Learn ' +
2626
'more](https://dequeuniversity.com/rules/axe/2.2/aria-allowed-attr?application=lighthouse).',

lighthouse-core/audits/accessibility/aria-required-attr.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class ARIARequiredAttr extends AxeAudit {
1919
static get meta() {
2020
return {
2121
name: 'aria-required-attr',
22-
description: '`[role]`s have all required `[aria-*]` attributes.',
23-
failureDescription: '`[role]`s do not have all required `[aria-*]` attributes.',
22+
description: '`[role]`s have all required `[aria-*]` attributes',
23+
failureDescription: '`[role]`s do not have all required `[aria-*]` attributes',
2424
helpText: 'Some ARIA roles have required attributes that describe the state ' +
2525
'of the element to screen readers. [Learn more](https://dequeuniversity.com/rules/axe/2.2/aria-required-attr?application=lighthouse).',
2626
requiredArtifacts: ['Accessibility'],

lighthouse-core/audits/accessibility/aria-required-children.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class AriaRequiredChildren extends AxeAudit {
2020
static get meta() {
2121
return {
2222
name: 'aria-required-children',
23-
description: 'Elements with `[role]` that require specific children `[role]`s, are present.',
23+
description: 'Elements with `[role]` that require specific children `[role]`s, are present',
2424
failureDescription: 'Elements with `[role]` that require specific children `[role]`s, ' +
2525
'are missing.',
2626
helpText: 'Some ARIA parent roles must contain specific child roles to perform ' +

lighthouse-core/audits/accessibility/aria-required-parent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class AriaRequiredParent extends AxeAudit {
2020
static get meta() {
2121
return {
2222
name: 'aria-required-parent',
23-
description: '`[role]`s are contained by their required parent element.',
24-
failureDescription: '`[role]`s are not contained by their required parent element.',
23+
description: '`[role]`s are contained by their required parent element',
24+
failureDescription: '`[role]`s are not contained by their required parent element',
2525
helpText: 'Some ARIA child roles must be contained by specific parent roles to ' +
2626
'properly perform their intended accessibility functions. ' +
2727
'[Learn more](https://dequeuniversity.com/rules/axe/2.2/aria-required-parent?application=lighthouse).',

lighthouse-core/audits/accessibility/aria-roles.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class AriaRoles extends AxeAudit {
1919
static get meta() {
2020
return {
2121
name: 'aria-roles',
22-
description: '`[role]` values are valid.',
23-
failureDescription: '`[role]` values are not valid.',
22+
description: '`[role]` values are valid',
23+
failureDescription: '`[role]` values are not valid',
2424
helpText: 'ARIA roles must have valid values in order to perform their ' +
2525
'intended accessibility functions. ' +
2626
'[Learn more](https://dequeuniversity.com/rules/axe/2.2/aria-roles?application=lighthouse).',

lighthouse-core/audits/accessibility/aria-valid-attr-value.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class ARIAValidAttr extends AxeAudit {
1919
static get meta() {
2020
return {
2121
name: 'aria-valid-attr-value',
22-
description: '`[aria-*]` attributes have valid values.',
23-
failureDescription: '`[aria-*]` attributes do not have valid values.',
22+
description: '`[aria-*]` attributes have valid values',
23+
failureDescription: '`[aria-*]` attributes do not have valid values',
2424
helpText: 'Assistive technologies, like screen readers, can\'t interpret ARIA ' +
2525
'attributes with invalid values. [Learn ' +
2626
'more](https://dequeuniversity.com/rules/axe/2.2/aria-valid-attr-value?application=lighthouse).',

lighthouse-core/audits/accessibility/aria-valid-attr.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class ARIAValidAttr extends AxeAudit {
1919
static get meta() {
2020
return {
2121
name: 'aria-valid-attr',
22-
description: '`[aria-*]` attributes are valid and not misspelled.',
23-
failureDescription: '`[aria-*]` attributes are not valid or misspelled.',
22+
description: '`[aria-*]` attributes are valid and not misspelled',
23+
failureDescription: '`[aria-*]` attributes are not valid or misspelled',
2424
helpText: 'Assistive technologies, like screen readers, can\'t interpret ARIA ' +
2525
'attributes with invalid names. [Learn ' +
2626
'more](https://dequeuniversity.com/rules/axe/2.2/aria-valid-attr?application=lighthouse).',

lighthouse-core/audits/accessibility/audio-caption.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class AudioCaption extends AxeAudit {
1919
static get meta() {
2020
return {
2121
name: 'audio-caption',
22-
description: '`<audio>` elements contain a `<track>` element with `[kind="captions"]`.',
22+
description: '`<audio>` elements contain a `<track>` element with `[kind="captions"]`',
2323
failureDescription: '`<audio>` elements are missing a `<track>` element with ' +
2424
'`[kind="captions"]`.',
2525
helpText: 'Captions make audio elements usable for deaf or hearing-impaired users, ' +

lighthouse-core/audits/accessibility/button-name.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class ButtonName extends AxeAudit {
1919
static get meta() {
2020
return {
2121
name: 'button-name',
22-
description: 'Buttons have an accessible name.',
23-
failureDescription: 'Buttons do not have an accessible name.',
22+
description: 'Buttons have an accessible name',
23+
failureDescription: 'Buttons do not have an accessible name',
2424
helpText: 'When a button doesn\'t have an accessible name, screen readers announce it as ' +
2525
'"button", making it unusable for users who rely on screen readers. ' +
2626
'[Learn more](https://dequeuniversity.com/rules/axe/2.2/button-name?application=lighthouse).',

0 commit comments

Comments
 (0)