This Wiki page is edited by participants of the HTML Accessibility Task Force. It does not necessarily represent consensus and it may have incorrect information or information that is not supported by other Task Force participants, WAI, or W3C. It may also have some very useful information.


From HTML accessibility task force Wiki
Jump to: navigation, search

Provide a Webcam example that is in accord with WCAG 2 or Defer to "HTML5: Techniques for providing useful text alternatives"

Bug Number


Bug Title

Provide a Webcam example that is in accord with WCAG 2 or Defer to "HTML5: Techniques for providing useful text alternatives".

Spec Section

Images whose contents are not known [1]

The "Images whose contents are not known" section of the HTML5 spec contains the following regarding a Webcam alternative.

In some unfortunate cases, there might be no alternative text available at all, either because the image is obtained in some automated fashion without any associated alternative text (e.g. a Webcam), or because the page is being generated by a script using user-provided images where the user did not provide suitable or usable alternative text (e.g. photograph sharing sites), or because the author does not himself know what the images represent (e.g. a blind photographer sharing an image on his blog).

In such cases, the alt attribute's value may be omitted, but one of the following conditions must be met as well:

  • The title attribute is present and has a non-empty value.
  • The img element is in a figure element that contains a figcaption element

that contains content other than inter-element whitespace.

  • The img element is part of the only paragraph directly in its section, and is

the only img element without an alt attribute in its section, and its section has an associated heading."

Bug Description

There would always be something a person could provide for a Webcam text alternative.

Please provide an example that is in line with WCAG 2 or defer to "HTML5: Techniques for providing useful text alternatives": as it is anticipated that a Webcam example will be added there.

HTML5 Issue and Change Proposal

This is associated with HTML TRACKER ISSUE-31:

Change Proposal - Replace img Guidance for Conformance Checkers: