W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > December 2012

[Bug 20404] New: more non conforming uses of title attribute in example code

From: <bugzilla@jessica.w3.org>
Date: Sat, 15 Dec 2012 18:11:46 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-20404-2486@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20404

            Bug ID: 20404
           Summary: more non conforming uses of title attribute in example
                    code
    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

The following examples in the spec include non conforming usesof the title
attribute:


"
Sometimes the entire point of the image is that a textual description is not
available, and the user is to provide the description. For instance, the point
of a CAPTCHA image is to see if the user can literally read the graphic. Here
is one way to mark up a CAPTCHA (note the title attribute):

<p><label>What does this image say?
<img src="captcha.cgi?id=8934" title="CAPTCHA">
<input type=text name=captcha></label>
(If you cannot see the image, you can use an <a
href="?audio">audio</a> test instead.)</p>

Another example would be software that displays images and asks for alternative
text precisely for the purpose of then writing a page with correct alternative
text. Such a page could have a table of images, like this:

<table>
 <thead>
  <tr> <th> Image <th> Description
 <tbody>
  <tr>
   <td> <img src="2421.png" title="Image 640 by 100, filename 'banner.gif'">
   <td> <input name="alt2421">
  <tr>
   <td> <img src="2422.png" title="Image 200 by 480, filename 'ad3.gif'">
   <td> <input name="alt2422">
</table>

Notice that even in this example, as much useful information as possible is
still included in the title attribute.
"

Suggest:

For the captcha example replace the current text and example code with the text
and example code from:
http://dev.w3.org/html5/alt-techniques/#sec13


for the second example suggest:

"Another example would be software that displays images and asks for
alternative text precisely for the purpose of then writing a page with correct
alternative text. Such a page could have a table of images, like this:

<table>
 <thead>
  <tr> <th> Image <th> Description
 <tbody>
  <tr>
   <td> <figure>
<img src="2421.png">
<figcaption>Image 640 by 100, filename 'banner.gif'</figcaption>
</figure>

   <td> <input name="alt2421">
  <tr>
   <td> <figure>
<img src="2422.png">
<figcaption>Image 200 by 480, filename 'ad3.gif'</figcaption>
</figure>
   <td> <input name="alt2422">
</table>

Notice that even in this example, as much useful information as possible is
still included in the ficaption element."

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Saturday, 15 December 2012 18:11:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 15 December 2012 18:11:48 GMT