kayle
Version:
Extremely fast and accurate accessibility engine built for any headless tool like playwright or puppeteer.
1,092 lines • 76.4 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.htmlcsRules = void 0;
exports.htmlcsRules = [
{
ruleId: "AltVersion",
description: "If this page cannot be made compliant, a text-only page with equivalent information or functionality should be provided. The alternative page needs to be updated in line with this page's content.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Applet.GeneralAlt",
description: "Check that short (and if appropriate, long) text alternatives are available for non-text content that serve the same purpose and present the same information.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Applet.MissingAlt",
description: "Applet elements must contain an alt attribute, to provide a text alternative to browsers supporting the element but are unable to load the applet.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "Applet.MissingBody",
description: "Applet elements must contain a text alternative in the element's body, for browsers without support for the applet element.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "Area.GeneralAlt",
description: "Ensure that the area element's text alternative serves the same purpose as the part of image map image it references.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Area.MissingAlt",
description: "Area element in an image map missing an alt attribute. Each area element must have a text alternative that describes the function of the image map area.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "Audio",
description: "For multimedia containing audio only, ensure an alternative is available, such as a full text transcript.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Captions",
description: "For multimedia containing synchronised audio and video, ensure synchronised captions are provided for the audio portion.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Colour",
description: "Ensure that any information conveyed using colour alone is also available without colour, such as through context or markup.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "DblClick",
description: "Ensure the functionality provided by double-clicking on this element is available through the keyboard.",
helpUrl: [],
ruleType: "warning",
tags: ["Section508"],
},
{
ruleId: "EmptyAnchorNoId",
description: "Anchor element found with no link content and no name and/or ID attribute.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "Errors",
description: "If an input error is automatically detected in this form, check that the item(s) in error are identified and the error(s) are described to the user in text.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Flicker",
description: "Check that no component of the content flickers at a rate of greater than 2 and less than 55 times per second.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "H49.AlignAttr",
description: "Align attributes .",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "HiddenText",
description: 'If content is hidden and made visible using scripting (such as "click to expand" sections), ensure this content is readable when scripts and style sheets are disabled.',
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Img.EmptyAltInLink",
description: "Img element is the only content of the link, but is missing alt text. The alt text should describe the purpose of the link.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "Img.GeneralAlt",
description: "Ensure that the img element's alt text serves the same purpose and presents the same information as the image.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Img.Ignored",
description: "Img element is marked so that it is ignored by Assistive Technology.",
helpUrl: [],
ruleType: "warning",
tags: ["Section508"],
},
{
ruleId: "Img.MissingAlt",
description: "Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "Img.NullAltWithTitle",
description: "Img element with empty alt text must have absent or empty title attribute.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "IncompleteHeadersAttrs",
description: "Not all td elements in this table contain a headers attribute. Each headers attribute should list the ids of all th elements associated with that cell.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "InputImage.GeneralAlt",
description: "Ensure that the image submit button's alt text identifies the purpose of the button.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "InputImage.MissingAlt",
description: "Image submit button missing an alt attribute. Specify a text alternative that describes the button's function, using the alt attribute.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "KeyboardNav",
description: "Ensure that this form can be navigated using the keyboard and other accessibility tools.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Labels",
description: "Check that descriptive labels or instructions (including for required fields) are provided for user input in this form.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Linearised",
description: "Ensure that content is ordered in a meaningful sequence when linearised, such as when style sheets are disabled.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "MetaRedirect",
description: "Meta refresh tag used to redirect to another page, with a time limit that is not zero. Users cannot control this time limit.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "MetaRefresh",
description: "Meta refresh tag used to refresh the current page. Users cannot control the time limit for this refresh.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "MissingHeaderIds",
description: "Not all th elements in this table contain an id attribute. These cells should contain ids so that they may be referenced by td elements' headers attributes.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "MissingHeadersAttrs",
description: "The relationship between td elements and their associated th elements is not defined. As this table has multiple levels of th elements, you must use the headers attribute on td elements.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "MouseDown",
description: "Ensure the functionality provided by mousing down on this element is available through the keyboard; for instance, using the keydown event.",
helpUrl: [],
ruleType: "warning",
tags: ["Section508"],
},
{
ruleId: "MouseMove",
description: "Ensure the functionality provided by moving the mouse on this element is available through the keyboard.",
helpUrl: [],
ruleType: "warning",
tags: ["Section508"],
},
{
ruleId: "MouseOut",
description: "Ensure the functionality provided by mousing out of this element is available through the keyboard; for instance, using the blur event.",
helpUrl: [],
ruleType: "warning",
tags: ["Section508"],
},
{
ruleId: "MouseOver",
description: "Ensure the functionality provided by mousing over this element is available through the keyboard; for instance, using the focus event.",
helpUrl: [],
ruleType: "warning",
tags: ["Section508"],
},
{
ruleId: "MouseUp",
description: "Ensure the functionality provided by mousing up on this element is available through the keyboard; for instance, using the keyup event.",
helpUrl: [],
ruleType: "warning",
tags: ["Section508"],
},
{
ruleId: "NoContentAnchor",
description: "Anchor element found with a valid href attribute, but no link content has been supplied.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "Object.GeneralAlt",
description: "Check that short (and if appropriate, long) text alternatives are available for non-text content that serve the same purpose and present the same information.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Object.MissingBody",
description: "Object elements must contain a text alternative after all other alternatives are exhausted.",
helpUrl: [],
ruleType: "error",
tags: ["Section508"],
},
{
ruleId: "PlaceholderAnchor",
description: "Anchor element found with link content, but no href, ID, or name attribute has been supplied.",
helpUrl: [],
ruleType: "warning",
tags: ["Section508"],
},
{
ruleId: "PluginLink",
description: "If external media requires a plugin or application to view, ensure a link is provided to a plugin or application that complies with Section 508 accessibility requirements for applications.",
helpUrl: [],
ruleType: "notice",
tags: ["Section508"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_G73,G74",
description: "If this image cannot be fully described in a short text alternative, ensure a long text alternative is also available, such as in the body text or through a link.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_G94,G92.Applet",
description: "Check that short (and if appropriate, long) text alternatives are available for non-text content that serve the same purpose and present the same information.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_G94,G92.Object,ARIA6",
description: "Check that short (and if appropriate, long) text alternatives are available for non-text content that serve the same purpose and present the same information.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_G94.Button",
description: "Ensure that the image submit button's alt text identifies the purpose of the button.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_G94.Image",
description: "Ensure that the img element's alt text serves the same purpose and presents the same information as the image.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H2.EG3",
description: "Img element inside a link must not use alt text that duplicates the content of a text link beside it.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H2.EG4",
description: "Img element inside a link has empty or missing alt text when a link beside it contains link text. Consider combining the links.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H2.EG5",
description: "Img element inside a link must not use alt text that duplicates the text content of the link.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H24",
description: "Area element in an image map missing an alt attribute. Each area element must have a text alternative that describes the function of the image map area.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H24.2",
description: "Ensure that the area element's text alternative serves the same purpose as the part of image map image it references.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H30.2",
description: "Img element is the only content of the link, but is missing alt text. The alt text should describe the purpose of the link.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H35.2",
description: "Applet elements must contain an alt attribute, to provide a text alternative to browsers supporting the element but are unable to load the applet.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H35.3",
description: "Applet elements must contain a text alternative in the element's body, for browsers without support for the applet element.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H36",
description: "Image submit button missing an alt attribute. Specify a text alternative that describes the button's function, using the alt attribute.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H37",
description: "Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H53,ARIA6",
description: "Object elements must contain a text alternative after all other alternatives are exhausted.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H67.1",
description: "Img element with empty alt text must have absent or empty title attribute.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_1.1_1_1_H67.2",
description: "Img element is marked so that it is ignored by Assistive Technology.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_2.1_2_1_G158",
description: "If this embedded object contains pre-recorded audio only, and is not provided as an alternative for text content, check that an alternative text version is available.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_2.1_2_1_G159,G166",
description: "If this embedded object contains pre-recorded video only, and is not provided as an alternative for text content, check that an alternative text version is available, or an audio track is provided that presents equivalent information.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_2.1_2_2_G87,G93",
description: "If this embedded object contains pre-recorded synchronised media and is not provided as an alternative for text content, check that captions are provided for audio content.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_2.1_2_3_G69,G78,G173,G8",
description: "If this embedded object contains pre-recorded synchronised media and is not provided as an alternative for text content, check that an audio description of its video, and/or an alternative text version of the content is provided.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA"],
},
{
ruleId: "Principle1.Guideline1_2.1_2_4_G9,G87,G93",
description: "If this embedded object contains synchronised media, check that captions are provided for live audio content.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_2.1_2_5_G78,G173,G8",
description: "If this embedded object contains pre-recorded synchronised media, check that an audio description is provided for its video content.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_2.1_2_6_G54,G81",
description: "If this embedded object contains pre-recorded synchronised media, check that a sign language interpretation is provided for its audio.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_2.1_2_7_G8",
description: "If this embedded object contains synchronised media, and where pauses in foreground audio is not sufficient to allow audio descriptions to convey the sense of pre-recorded video, check that an extended audio description is provided, either through scripting or an alternate version.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_2.1_2_8_G69,G159",
description: "If this embedded object contains pre-recorded synchronised media or video-only content, check that an alternative text version of the content is provided.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_2.1_2_9_G150,G151,G157",
description: "If this embedded object contains live audio-only content, check that an alternative text version of the content is provided.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_ARIA6",
description: 'This form control has an "aria-label" attribute that is empty or contains only spaces. It will be ignored for labelling test purposes.',
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_DataTable",
description: "This table appears to be a data table. If it is meant to instead be a layout table, ensure there are no th elements, and no summary or caption.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_F68",
description: 'This form field should be labelled in some way. Use the label element (either with a "for" attribute or wrapped around the form field), or "title", "aria-label" or "aria-labelledby" attributes as appropriate.',
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_F68.Hidden",
description: "This hidden form field is labelled in some way. There should be no need to label a hidden form field.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_F68.HiddenAttr",
description: 'This form field is intended to be hidden (using the "hidden" attribute), but is also labelled in some way. There should be no need to label a hidden form field.',
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_F92,ARIA4",
description: 'This element\'s role is "presentation" but contains child elements with semantic meaning.',
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_G141_a",
description: "The heading structure is not logically nested. This h{{headingNum}} element appears to be the primary document heading, so should be an h1 element.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H39,H73.4",
description: "If this table is a data table, and both a summary attribute and a caption element are present, the summary should not duplicate the caption.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H39.3.Check",
description: "If this table is a data table, check that the caption element accurately describes this table.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H39.3.LayoutTable",
description: "This table appears to be used for layout, but contains a caption element. Layout tables must not contain captions.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H39.3.NoCaption",
description: "If this table is a data table, consider using a caption element to the table element to identify this table.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H42",
description: "Heading markup should be used if this content is intended as a heading.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H42.2",
description: "Heading tag found with no content. Text that is not intended as a heading should not be marked up with heading tags.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H43,H63",
description: "The relationship between td elements and their associated th elements is not defined. Use either the scope attribute on th elements, or the headers attribute on td elements.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H43.HeadersRequired",
description: "The relationship between td elements and their associated th elements is not defined. As this table has multiple levels of th elements, you must use the headers attribute on td elements.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H43.IncorrectAttrNotice",
description: "Check that headers attribute on td elements are correct.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H43.MissingHeaderIds",
description: "Not all th elements in this table contain an id attribute. These cells should contain ids so that they may be referenced by td elements' headers attributes.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H43.MissingHeadersAttrs",
description: "Not all td elements in this table contain a headers attribute. Each headers attribute should list the ids of all th elements associated with that cell.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H43.ScopeAmbiguous",
description: "Scope attributes on th elements are ambiguous in a table with multiple levels of headings. Use the headers attribute on td elements instead.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H44.NotFormControl",
description: 'This label\'s "for" attribute contains an ID for an element that is not a form control. Ensure that you have entered the correct ID for the intended element.',
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H48",
description: "If this element contains a navigation section, it is recommended that it be marked up as a list.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H48.1",
description: "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.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H48.2",
description: "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.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H49.",
description: "Presentational markup used that has become obsolete in HTML5.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H49.AlignAttr.Semantic",
description: "Semantic markup should be used to mark emphasised or special text so that it can be programmatically determined.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H49.Semantic",
description: "Semantic markup should be used to mark emphasised or special text so that it can be programmatically determined.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H63.1",
description: "Not all th elements in this table have a scope attribute. These cells should contain a scope attribute to identify their association with td elements.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H63.2",
description: "Scope attributes on td elements that act as headings for other elements are obsolete in HTML5. Use a th element instead.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H63.3",
description: "Table cell has an invalid scope attribute. Valid values are row, col, rowgroup, or colgroup.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H65",
description: 'This form control has a "title" attribute that is empty or contains only spaces. It will be ignored for labelling test purposes.',
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H71.NoLegend",
description: "Fieldset does not contain a legend element. All fieldsets should contain a legend element that describes a description of the field group.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H71.SameName",
description: "If these radio buttons or check boxes require a further group-level description, they should be contained within a fieldset element.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H73.3.Check",
description: "If this table is a data table, check that the summary attribute describes the table's organization or explains how to use the table.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H73.3.LayoutTable",
description: "This table appears to be used for layout, but contains a summary attribute. Layout tables must not contain summary attributes, or if supplied, must be empty.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H73.3.NoSummary",
description: "If this table is a data table, consider using the summary attribute of the table element to give an overview of this table.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_H85.2",
description: "If this selection list contains groups of related options, they should be grouped with optgroup.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_1_LayoutTable",
description: "This table appears to be a layout table. If it is meant to instead be a data table, ensure header cells are identified using th elements.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_2_G57",
description: "Check that the content is ordered in a meaningful sequence when linearised, such as when style sheets are disabled.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_3_G96",
description: "Where instructions are provided for understanding the content, do not rely on sensory characteristics alone (such as shape, size or location) to describe objects.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_4.RestrictView",
description: "Check that content does not restrict its view and operation to a single display orientation, such as portrait or landscape, unless a specific display orientation is essential.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.FaultyValue",
description: "This element contains a potentially faulty value in its autocomplete attribute: {{valuesStr}}.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.InvalidAutoComplete_Date",
description: "Invalid autocomplete value: {{x}}. Element does not belong to Date control group.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.InvalidAutoComplete_Month",
description: "Invalid autocomplete value: {{x}}. Element does not belong to Month control group.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.InvalidAutoComplete_Multiline",
description: "Invalid autocomplete value: {{x}}. Element does not belong to Multiline control group.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.InvalidAutoComplete_Numeric",
description: "Invalid autocomplete value: {{x}}. Element does not belong to Numeric control group.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.InvalidAutoComplete_Password",
description: "Invalid autocomplete value: {{x}}. Element does not belong to Password control group.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.InvalidAutoComplete_Telephone",
description: "Invalid autocomplete value: {{x}}. Element does not belong to Telephone control group.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.InvalidAutoComplete_Text",
description: "Invalid autocomplete value: {{x}}. Element does not belong to Text control group.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.InvalidAutoComplete_Url",
description: "Invalid autocomplete value: {{x}}. Element does not belong to Url control group.",
helpUrl: [],
ruleType: "error",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.MissingAutocomplete",
description: "This element does not have an autocomplete attribute. If this field collects information about the user, consider adding one to comply with this Success Criterion.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_5_H98.Purpose",
description: "Check that the input field serves a purpose identified in the Input Purposes for User Interface Components section; and that the content is implemented using technologies with support for identifying the expected meaning for form input data.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_3.1_3_6_ARIA11.Check",
description: "Check that the purpose of User Interface Components, icons, and regions can be programmatically determined.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_1_G14,G18",
description: "Check that any information conveyed using colour alone is also available in text, or through other visual cues.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Check",
description: "Check that content can be presented without loss of information or functionality, and without requiring scrolling in two dimensions for: Vertical scrolling content at a width equivalent to 320 CSS pixels; Horizontal scrolling content at a height equivalent to 256 CSS pixels; Except for parts of the content which require two-dimensional layout for usage or meaning.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Fixed",
description: 'This element has "position: fixed". This may require scrolling in two dimensions, which is considered a failure of this Success Criterion.',
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Scrolling",
description: "Preformatted text may require scrolling in two dimensions, which is considered a failure of this Success Criterion.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_10_C32,C31,C33,C38,SCR34,G206.Zoom",
description: "Interfering with a user agent's ability to zoom may be a failure of this Success Criterion.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_11_G195,G207,G18,G145,G174,F78.Check",
description: "Check that the visual presentation of the following have a contrast ratio of at least 3:1 against adjacent color(s): User Interface Components: Visual information required to identify user interface components and states, except for inactive components or where the appearance of the component is determined by the user agent and not modified by the author; Graphical Objects: Parts of graphics required to understand the content, except when a particular presentation of graphics is essential to the information being conveyed.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_12_C36,C35.Check",
description: "Check that no loss of content or functionality occurs by setting all of the following and by changing no other style property: Line height (line spacing) to at least 1.5 times the font size; Spacing following paragraphs to at least 2 times the font size; Letter spacing (tracking) to at least 0.12 times the font size; Word spacing to at least 0.16 times the font size.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_13_F95.Check",
description: "Check that where receiving and then removing pointer hover or keyboard focus triggers additional content to become visible and then hidden, the following are true: Dismissable: A mechanism is available to dismiss the additional content without moving pointer hover or keyboard focus, unless the additional content communicates an input error or does not obscure or replace other content; Hoverable: If pointer hover can trigger the additional content, then the pointer can be moved over the additional content without the additional content disappearing; Persistent: The additional content remains visible until the hover or focus trigger is removed, the user dismisses it, or its information is no longer valid.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_2_F23",
description: "If this element contains audio that plays automatically for longer than 3 seconds, check that there is the ability to pause, stop or mute the audio.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_3_F24.BGColour",
description: "Check that this element has an inherited foreground colour to complement the corresponding inline background colour or image.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_3_F24.FGColour",
description: "Check that this element has an inherited background colour or image to complement the corresponding inline foreground colour.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_3_G145.Abs",
description: "This element is absolutely positioned and the background color can not be determined. Ensure the contrast ratio between the text and all covered parts of the background are at least {{required}}:1.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_3_G145.Alpha",
description: "This element's text or background contains transparency. Ensure the contrast ratio between the text and background are at least {{required}}:1.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_3_G145.BgGradient",
description: "This element's text is placed on a gradient. Ensure the contrast ratio between the text and all covered parts of the gradient are at least {{required}}:1.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_3_G145.BgImage",
description: "This element's text is placed on a background image. Ensure the contrast ratio between the text and all covered parts of the image are at least {{required}}:1.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_4_G142",
description: "Check that text can be resized without assistive technology up to 200 percent without loss of content or functionality.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_5_G140,C22,C30.AALevel",
description: "If the technologies being used can achieve the visual presentation, check that text is used to convey information rather than images of text, except when the image of text is essential to the information being conveyed, or can be visually customised to the user's requirements.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_6_G145.BgGradient",
description: "This element's text is placed on a background gradient. Ensure the contrast ratio between the text and all covered parts of the gradient are at least {{required}}:1.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_6_G17.Abs",
description: "This element is absolutely positioned and the background color can not be determined. Ensure the contrast ratio between the text and all covered parts of the background are at least {{required}}:1.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_6_G17.BgImage",
description: "This element's text is placed on a background image. Ensure the contrast ratio between the text and all covered parts of the image are at least {{required}}:1.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_7_G56",
description: "For pre-recorded audio-only content in this element that is primarily speech (such as narration), any background sounds should be muteable, or be at least 20 dB (or about 4 times) quieter than the speech.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_8_C19,G172,G169",
description: "Check that blocks of text are not fully justified - that is, to both left and right edges - or a mechanism exists to remove full justification.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_8_G148,G156,G175",
description: "Check that a mechanism is available for the user to select foreground and background colours for blocks of text, either through the Web page or the browser.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_8_G188,C21",
description: "Check that line spacing in blocks of text are at least 150% in paragraphs, and paragraph spacing is at least 1.5 times the line spacing, or that a mechanism is available to achieve this.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_8_H87,C20",
description: "Check that a mechanism exists to reduce the width of a block of text to no more than 80 characters (or 40 in Chinese, Japanese or Korean script).",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_8_H87,G146,C26",
description: "Check that text can be resized without assistive technology up to 200 percent without requiring the user to scroll horizontally on a full-screen window.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle1.Guideline1_4.1_4_9_G140,C22,C30.NoException",
description: "Check that images of text are only used for pure decoration or where a particular presentation of text is essential to the information being conveyed.",
helpUrl: [],
ruleType: "notice",
tags: ["WCAGAAA"],
},
{
ruleId: "Principle2.Guideline2_1.2_1_1_G90",
description: "Ensure the functionality provided by an event handler for this element is available through the keyboard",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle2.Guideline2_1.2_1_1_SCR20.DblClick",
description: "Ensure the functionality provided by double-clicking on this element is available through the keyboard.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle2.Guideline2_1.2_1_1_SCR20.MouseDown",
description: "Ensure the functionality provided by mousing down on this element is available through the keyboard; for instance, using the keydown event.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle2.Guideline2_1.2_1_1_SCR20.MouseMove",
description: "Ensure the functionality provided by moving the mouse on this element is available through the keyboard.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle2.Guideline2_1.2_1_1_SCR20.MouseOut",
description: "Ensure the functionality provided by mousing out of this element is available through the keyboard; for instance, using the blur event.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle2.Guideline2_1.2_1_1_SCR20.MouseOver",
description: "Ensure the functionality provided by mousing over this element is available through the keyboard; for instance, using the focus event.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle2.Guideline2_1.2_1_1_SCR20.MouseUp",
description: "Ensure the functionality provided by mousing up on this element is available through the keyboard; for instance, using the keyup event.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle2.Guideline2_1.2_1_2_F10",
description: "Check that this applet or plugin provides the ability to move the focus away from itself when using the keyboard.",
helpUrl: [],
ruleType: "warning",
tags: ["WCAGA", "WCAGAA", "WCAGAAA"],
},
{
ruleId: "Principle2.Guideline2_1.2_1_4.Check",
description: "Check that if a keyboard shortcut is implemented in content using only letter (including upper- an