Skip to content

Commit cf9bdf2

Browse files
committed
Comments updated
1 parent c75b86f commit cf9bdf2

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/checks/aria/aria-prohibited-attr-evaluate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function ariaProhibitedAttrEvaluate(
5959

6060
let messageKey = role !== null ? 'hasRole' : 'noRole';
6161
messageKey += prohibited.length > 1 ? 'Plural' : 'Singular';
62-
// a11y-rule-aria-prohibited-attr: Add reviewPayload with accessible name from prohibited attr value
62+
// a11y-rule-aria-prohibited-attr: reviewPayload for bulk NR
6363
const accessibleName =
6464
axe.commons.text.accessibleText(node)
6565
this.data({

lib/checks/color/color-contrast-evaluate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export default function colorContrastEvaluate(node, options, virtualNode) {
149149
messageKey: missing,
150150
expectedContrastRatio: expected + ':1',
151151
shadowColor: shadowColor ? shadowColor.toHexString() : undefined,
152-
// a11y-rule-color-contrast: reviewPayload for bulk NR visual helper (violation and needs-review)
152+
// a11y-rule-color-contrast: reviewPayload for bulk NR
153153
reviewPayload: {
154154
visualHelperData: {
155155
fgColor: fgColor ? fgColor.toHexString() : null,

lib/checks/label/label-content-name-mismatch-evaluate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function labelContentNameMismatchEvaluate(node, options, virtualNode) {
140140
isHumanInterpretable(accText) < 1 ||
141141
isHumanInterpretable(visibleText) < 1
142142
) {
143-
// a11y-rule-label-content-name-mismatch: reviewPayload for NR accessible name display
143+
// a11y-rule-label-content-name-mismatch: reviewPayload for bulk NR
144144
this.data({
145145
reviewPayload: {
146146
visualHelperData: {
@@ -153,7 +153,7 @@ function labelContentNameMismatchEvaluate(node, options, virtualNode) {
153153

154154
const result = isStringContained(visibleText, accText);
155155
if (!result) {
156-
// a11y-rule-label-content-name-mismatch: reviewPayload for violation accessible name display
156+
// a11y-rule-label-content-name-mismatch: reviewPayload for bulk NR
157157
this.data({
158158
reviewPayload: {
159159
visualHelperData: {

0 commit comments

Comments
 (0)