You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTMLCS.addMessage(HTMLCS.ERROR,errors.img.emptyAltInLink[i],'Img element is the only content of the link, but is missing alt text. The alt text should describe the purpose of the link.','H30.2');
HTMLCS.addMessage(HTMLCS.ERROR,errors.img.missingAlt[i],'Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.','H37');
HTMLCS.addMessage(HTMLCS.NOTICE,errors.img.generalAlt[i],'Ensure that the img element\'s alt text serves the same purpose and presents the same information as the image.','G94.Image');
HTMLCS.addMessage(HTMLCS.ERROR,errors.inputImage.missingAlt[i],'Image submit button missing an alt attribute. Specify a text alternative that describes the button\'s function, using the alt attribute.','H36');
HTMLCS.addMessage(HTMLCS.NOTICE,errors.inputImage.generalAlt[i],'Ensure that the image submit button\'s alt text identifies the purpose of the button.','G94.Button');
HTMLCS.addMessage(HTMLCS.ERROR,errors.area.missingAlt[i],'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.','H24');
HTMLCS.addMessage(HTMLCS.NOTICE,errors.area.generalAlt[i],'Ensure that the area element\'s text alternative serves the same purpose as the part of image map image it references.','H24.2');
HTMLCS.addMessage(HTMLCS.NOTICE,element,'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.','G73,G74');
HTMLCS.addMessage(HTMLCS.ERROR,element,'Img element inside a link has empty or missing alt text when a link beside it contains link text. Consider combining the links.','H2.EG4');
HTMLCS.addMessage(HTMLCS.ERROR,element,'Img element inside a link must not use alt text that duplicates the content of a text link beside it.','H2.EG3');
HTMLCS.addMessage(HTMLCS.ERROR,element,'Img element inside a link has empty or missing alt text when a link beside it contains link text. Consider combining the links.','H2.EG4');
HTMLCS.addMessage(HTMLCS.ERROR,element,'Img element inside a link must not use alt text that duplicates the content of a text link beside it.','H2.EG3');
HTMLCS.addMessage(HTMLCS.ERROR,errors.object.missingBody[i],'Object elements must contain a text alternative after all other alternatives are exhausted.','H53,ARIA6');
HTMLCS.addMessage(HTMLCS.NOTICE,errors.object.generalAlt[i],'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.','G94,G92.Object,ARIA6');
HTMLCS.addMessage(HTMLCS.ERROR,errors.applet.missingBody[i],'Applet elements must contain a text alternative in the element\'s body, for browsers without support for the applet element.','H35.3');
HTMLCS.addMessage(HTMLCS.ERROR,errors.applet.missingAlt[i],'Applet elements must contain an alt attribute, to provide a text alternative to browsers supporting the element but are unable to load the applet.','H35.2');
HTMLCS.addMessage(HTMLCS.NOTICE,errors.applet.generalAlt[i],'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.','G94,G92.Applet');
HTMLCS.addMessage(HTMLCS.NOTICE,element,'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.','G158');
HTMLCS.addMessage(HTMLCS.NOTICE,element,'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.','G159,G166');
HTMLCS.addMessage(HTMLCS.NOTICE,element,'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.','G87,G93');
HTMLCS.addMessage(HTMLCS.NOTICE,element,'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.','G69,G78,G173,G8');
HTMLCS.addMessage(HTMLCS.NOTICE,element,'If this embedded object contains synchronised media, check that captions are provided for live audio content.','G9,G87,G93');
HTMLCS.addMessage(HTMLCS.NOTICE,element,'If this embedded object contains pre-recorded synchronised media, check that an audio description is provided for its video content.','G78,G173,G8');
HTMLCS.addMessage(HTMLCS.NOTICE,element,'If this embedded object contains pre-recorded synchronised media, check that a sign language interpretation is provided for its audio.','G54,G81');
// Check for elements that could potentially contain video.
43
-
HTMLCS.addMessage(HTMLCS.NOTICE,element,'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.','G8');
HTMLCS.addMessage(HTMLCS.NOTICE,element,'If this embedded object contains pre-recorded synchronised media or video-only content, check that an alternative text version of the content is provided.','G69,G159');
HTMLCS.addMessage(HTMLCS.NOTICE,element,'If this embedded object contains live audio-only content, check that an alternative text version of the content is provided.','G150,G151,G157');
0 commit comments