[Bug 20401] New: non conforming use of title attribute in example code

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

            Bug ID: 20401
           Summary: non conforming use of title attribute in example code
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P3
         Component: CR HTML5 spec
          Assignee: robin@w3.org
          Reporter: faulkner.steve@gmail.com
        QA Contact: public-html-bugzilla@w3.org

In
http://www.w3.org/TR/2012/WD-html5-20121025/the-img-element.html#general-guidelines

The following example is non conforming the title attribute cannot be used to
provide a caption in the instance:

"Here it is not known at the time of publication what the image will be, only
that it will be a coat of arms of some kind, and thus no replacement text can
be provided, and instead only a brief caption for the image is provided, in the
title attribute:

<p>The last user to have uploaded a coat of arms uploaded this one:</p>
<p><img src="last-uploaded-coat-of-arms.cgi" title="User-uploaded coat of
arms."></p>"

suggest changing example to:

<figure>
<img src="last-uploaded-coat-of-arms.cgi">
<figcaption>User uploaded coat of arms.</figcaption>
</figure>

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

Received on Saturday, 15 December 2012 17:28:28 UTC