This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20403 - spec states plural conditions when only 1 condition is conforming
Summary: spec states plural conditions when only 1 condition is conforming
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: CR HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Robin Berjon
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords: a11y, a11y_text-alt
Depends on:
Blocks:
 
Reported: 2012-12-15 17:47 UTC by steve faulkner
Modified: 2013-01-14 13:04 UTC (History)
3 users (show)

See Also:


Attachments

Description steve faulkner 2012-12-15 17:47:33 UTC
In the following section

http://www.w3.org/TR/2012/WD-html5-20121025/the-img-element.html#a-key-part-of-the-content

the text is incorrect:

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

* The img element is in a figure element that contains a figcaption element that contains content other than inter-element whitespace, and, ignoring the figcaption element and its descendants, the figure element has no Text node descendants other than inter-element whitespace, and no embedded content descendant other than the img element.

*Relying on the title attribute is currently discouraged as many user agents do not expose the attribute in an accessible manner as required by this specification (e.g. requiring a pointing device such as a mouse to cause a tooltip to apear, which excludes keyboard-only users and touch-only users, such as anyone with a modern phone or tablet)."

There is only 1 condition that is conforming, the second bullet is not a condition but a note not to use the title attribute.

Suggest:

"In such cases, the alt attribute may be omitted, but the following condition must be met:

The img element is in a figure element that contains a figcaption element that contains content other than inter-element whitespace, and, ignoring the figcaption element and its descendants, the figure element has no Text node descendants other than inter-element whitespace, and no embedded content descendant other than the img element.


Note: Use on the title attribute to provide a caption for an image is currently prohibited as many user agents do not expose the attribute in an accessible manner as required by this specification (e.g. requiring a pointing device such as a mouse to cause a tooltip to apear, which excludes keyboard-only users and touch-only users, such as anyone with a modern phone or tablet)."
Comment 1 steve faulkner 2013-01-12 11:12:36 UTC
proposed resolution in pull request: https://github.com/w3c/html/pull/7
Comment 2 Robin Berjon 2013-01-14 13:04:35 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:


   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: Applied change as per PR
Rationale: Obvious typo