Skip to content

Commit a0b65f1

Browse files
author
Luke Wright
committed
Message change (from internal issue list), to clarify messages where lists are simulated using plain text.
Previously doubled up the use of "appears", as in "appears to have visual appearance of..." It now says it is simulating such a list in plain text, and please use the appropriate element to provide computer-readable document structure.
1 parent d1e74b4 commit a0b65f1

File tree

1 file changed

+2
-2
lines changed
  • Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_3

1 file changed

+2
-2
lines changed

Standards/WCAG2AAA/Sniffs/Principle1/Guideline1_3/1_3_1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,11 +711,11 @@ var HTMLCS_WCAG2AAA_Sniffs_Principle1_Guideline1_3_1_3_1 = {
711711
for (var i = 0; i < items.length; i++) {
712712
if (/^[\-*]\s+/.test(items[0]) === true) {
713713
// Test for "- " or "* " cases.
714-
HTMLCS.addMessage(HTMLCS.WARNING, element, 'Content appears to have the visual appearance of a bulleted list. It may be appropriate to mark this content up using a ul element.', 'H48.1');
714+
HTMLCS.addMessage(HTMLCS.WARNING, element, 'This content looks like it is simulating an unordered list using plain text. If so, marking up this content with a ul element would add proper structure information to the document.', 'H48.1');
715715
break;
716716
} if (/^\d+[:\/\-.]?\s+/.test(items[0]) === true) {
717717
// Test for "1 " cases (or "1. ", "1: ", "1- ").
718-
HTMLCS.addMessage(HTMLCS.WARNING, element, 'Content appears to have the visual appearance of a numbered list. It may be appropriate to mark this content up using an ol element.', 'H48.2');
718+
HTMLCS.addMessage(HTMLCS.WARNING, element, 'This content looks like it is simulating an ordered list using plain text. If so, marking up this content with an ol element would add proper structure information to the document.', 'H48.2');
719719
break;
720720
}
721721
}//end for

0 commit comments

Comments
 (0)