Skip to content

Commit

Permalink
reword
Browse files Browse the repository at this point in the history
  • Loading branch information
adamraine committed Apr 18, 2024
1 parent 8349989 commit 0aeae73
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 41 deletions.
7 changes: 3 additions & 4 deletions core/audits/accessibility/aria-conditional-attr.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ import * as i18n from '../../lib/i18n/i18n.js';

const UIStrings = {
/** Title of an accessibility audit that checks if ARIA attributes are used as specified for element roles. This title is descriptive of the successful state and is shown to users when no user action is required. */
title: 'ARIA attributes are used as specified for element roles',
title: 'ARIA attributes are used as specified for the element\'s role',
/** Title of an accessibility audit that checks if ARIA attributes are used as specified for element roles. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */
failureTitle: 'ARIA attributes are not used as specified for element roles',
failureTitle: 'ARIA attributes are not used as specified for the element\'s role',
/** Description of a Lighthouse audit that tells the user *why* they should try to pass. This is displayed after a user expands the section to see more. No character length limits. The last sentence starting with 'Learn' becomes link text to additional documentation. */
description: 'Using ARIA attributes on elements where they are not expected can result in ' +
'unpredictable behavior for assistive technologies. ' +
description: 'Some ARIA attributes are only allowed on an element under certain conditions. ' +
'[Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr).',
};

Expand Down
2 changes: 1 addition & 1 deletion core/audits/accessibility/aria-deprecated-role.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const UIStrings = {
/** Title of an accessibility audit that checks if deprecated ARIA roles are used. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */
failureTitle: 'Deprecated ARIA roles were used',
/** Description of a Lighthouse audit that tells the user *why* they should try to pass. This is displayed after a user expands the section to see more. No character length limits. The last sentence starting with 'Learn' becomes link text to additional documentation. */
description: 'Deprecated ARIA roles will not be processed correctly by screen readers. ' +
description: 'Deprecated ARIA roles may not be processed correctly by assistive technology. ' +
'[Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role).',
};

Expand Down
7 changes: 3 additions & 4 deletions core/audits/accessibility/aria-prohibited-attr.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ import * as i18n from '../../lib/i18n/i18n.js';

const UIStrings = {
/** Title of an accessibility audit that checks if elements use prohibited ARIA attributes. This title is descriptive of the successful state and is shown to users when no user action is required. */
title: 'Elements only use permitted ARIA attributes',
title: 'Elements use only permitted ARIA attributes',
/** Title of an accessibility audit that checks if elements use prohibited ARIA attributes. This title is descriptive of the failing state and is shown to users when there is a failure that needs to be addressed. */
failureTitle: 'Elements use prohibited ARIA attributes',
/** Description of a Lighthouse audit that tells the user *why* they should try to pass. This is displayed after a user expands the section to see more. No character length limits. The last sentence starting with 'Learn' becomes link text to additional documentation. */
description: 'Element roles can prohibit certain ARIA attributes from being used ' +
'on that element. Using one of these prohibited roles can lead to undefined behavior by ' +
'assistive technology. ' +
description: 'Using ARIA attributes in roles where they are prohibited can mean that important ' +
'information is not communicated to users of assistive technologies. ' +
'[Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr).',
};

Expand Down
30 changes: 15 additions & 15 deletions core/test/fixtures/user-flows/reports/sample-flow-result.json
Original file line number Diff line number Diff line change
Expand Up @@ -2052,8 +2052,8 @@
},
"aria-conditional-attr": {
"id": "aria-conditional-attr",
"title": "ARIA attributes are used as specified for element roles",
"description": "Using ARIA attributes on elements where they are not expected can result in unpredictable behavior for assistive technologies. [Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr).",
"title": "ARIA attributes are used as specified for the element's role",
"description": "Some ARIA attributes are only allowed on an element under certain conditions. [Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand All @@ -2065,7 +2065,7 @@
"aria-deprecated-role": {
"id": "aria-deprecated-role",
"title": "Deprecated ARIA roles were not used",
"description": "Deprecated ARIA roles will not be processed correctly by screen readers. [Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role).",
"description": "Deprecated ARIA roles may not be processed correctly by assistive technology. [Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand Down Expand Up @@ -2133,8 +2133,8 @@
},
"aria-prohibited-attr": {
"id": "aria-prohibited-attr",
"title": "Elements only use permitted ARIA attributes",
"description": "Element roles can prohibit certain ARIA attributes from being used on that element. Using one of these prohibited roles can lead to undefined behavior by assistive technology. [Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr).",
"title": "Elements use only permitted ARIA attributes",
"description": "Using ARIA attributes in roles where they are prohibited can mean that important information is not communicated to users of assistive technologies. [Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand Down Expand Up @@ -12395,8 +12395,8 @@
},
"aria-conditional-attr": {
"id": "aria-conditional-attr",
"title": "ARIA attributes are used as specified for element roles",
"description": "Using ARIA attributes on elements where they are not expected can result in unpredictable behavior for assistive technologies. [Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr).",
"title": "ARIA attributes are used as specified for the element's role",
"description": "Some ARIA attributes are only allowed on an element under certain conditions. [Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand All @@ -12408,7 +12408,7 @@
"aria-deprecated-role": {
"id": "aria-deprecated-role",
"title": "Deprecated ARIA roles were not used",
"description": "Deprecated ARIA roles will not be processed correctly by screen readers. [Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role).",
"description": "Deprecated ARIA roles may not be processed correctly by assistive technology. [Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand Down Expand Up @@ -12476,8 +12476,8 @@
},
"aria-prohibited-attr": {
"id": "aria-prohibited-attr",
"title": "Elements only use permitted ARIA attributes",
"description": "Element roles can prohibit certain ARIA attributes from being used on that element. Using one of these prohibited roles can lead to undefined behavior by assistive technology. [Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr).",
"title": "Elements use only permitted ARIA attributes",
"description": "Using ARIA attributes in roles where they are prohibited can mean that important information is not communicated to users of assistive technologies. [Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand Down Expand Up @@ -19237,8 +19237,8 @@
},
"aria-conditional-attr": {
"id": "aria-conditional-attr",
"title": "ARIA attributes are used as specified for element roles",
"description": "Using ARIA attributes on elements where they are not expected can result in unpredictable behavior for assistive technologies. [Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr).",
"title": "ARIA attributes are used as specified for the element's role",
"description": "Some ARIA attributes are only allowed on an element under certain conditions. [Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand All @@ -19250,7 +19250,7 @@
"aria-deprecated-role": {
"id": "aria-deprecated-role",
"title": "Deprecated ARIA roles were not used",
"description": "Deprecated ARIA roles will not be processed correctly by screen readers. [Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role).",
"description": "Deprecated ARIA roles may not be processed correctly by assistive technology. [Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand Down Expand Up @@ -19318,8 +19318,8 @@
},
"aria-prohibited-attr": {
"id": "aria-prohibited-attr",
"title": "Elements only use permitted ARIA attributes",
"description": "Element roles can prohibit certain ARIA attributes from being used on that element. Using one of these prohibited roles can lead to undefined behavior by assistive technology. [Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr).",
"title": "Elements use only permitted ARIA attributes",
"description": "Using ARIA attributes in roles where they are prohibited can mean that important information is not communicated to users of assistive technologies. [Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand Down
10 changes: 5 additions & 5 deletions core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2827,8 +2827,8 @@
},
"aria-conditional-attr": {
"id": "aria-conditional-attr",
"title": "ARIA attributes are used as specified for element roles",
"description": "Using ARIA attributes on elements where they are not expected can result in unpredictable behavior for assistive technologies. [Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr).",
"title": "ARIA attributes are used as specified for the element's role",
"description": "Some ARIA attributes are only allowed on an element under certain conditions. [Learn more about conditional ARIA attributes](https://dequeuniversity.com/rules/axe/4.9/aria-conditional-attr).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand All @@ -2840,7 +2840,7 @@
"aria-deprecated-role": {
"id": "aria-deprecated-role",
"title": "Deprecated ARIA roles were not used",
"description": "Deprecated ARIA roles will not be processed correctly by screen readers. [Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role).",
"description": "Deprecated ARIA roles may not be processed correctly by assistive technology. [Learn more about deprecated ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-deprecated-role).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand Down Expand Up @@ -2903,8 +2903,8 @@
},
"aria-prohibited-attr": {
"id": "aria-prohibited-attr",
"title": "Elements only use permitted ARIA attributes",
"description": "Element roles can prohibit certain ARIA attributes from being used on that element. Using one of these prohibited roles can lead to undefined behavior by assistive technology. [Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr).",
"title": "Elements use only permitted ARIA attributes",
"description": "Using ARIA attributes in roles where they are prohibited can mean that important information is not communicated to users of assistive technologies. [Learn more about prohibited ARIA roles](https://dequeuniversity.com/rules/axe/4.9/aria-prohibited-attr).",
"score": 1,
"scoreDisplayMode": "binary",
"details": {
Expand Down
12 changes: 6 additions & 6 deletions shared/localization/locales/en-US.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0aeae73

Please sign in to comment.