[Bug 20403] New: spec states plural conditions when only 1 condition is conforming

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20403

            Bug ID: 20403
           Summary: spec states plural conditions when only 1 condition is
                    conforming
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CR HTML5 spec
          Assignee: robin@w3.org
          Reporter: faulkner.steve@gmail.com
        QA Contact: public-html-bugzilla@w3.org

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)."

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 15 December 2012 17:47:34 UTC