[Bug 20402] New: use of title attribute in example is incorrect

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

            Bug ID: 20402
           Summary: use of title attribute in example is incorrect
    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 example a title attribute is used in conjunction with a null
alt (alt="") a null alt maps to role=presentation as per HTML5 and will not be
represented in the accessibility tree (elements with role=presentation are
removed from the acc tree), thus the title attribute content will not available
to users of assistive technology. Furthermore the use of title in this instance
is strongly discouraged as it is not accessible to a range of users due to poor
implementation.

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

"<article>
 <h1>Fluffy and the Yarn</h1>
 <p>Fluffy was a cat who liked to play with yarn. He also liked to jump.</p>
 <aside><img src="fluffy.jpg" alt="" title="Fluffy"></aside>
 <p>He would play in the morning, he would play in the evening.</p>
</article>"

Suggest:

<article>
 <h1>Fluffy and the Yarn</h1>
 <p>Fluffy was a cat who liked to play with yarn. He also liked to jump.</p>
 <figure>
<img src="fluffy.jpg">
<figcaption>Fluffy</figcaption>
</figure>
 <p>He would play in the morning, he would play in the evening.</p>
</article>

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

Received on Saturday, 15 December 2012 17:38:51 UTC