[wp-trac] [WordPress Trac] #15938: HTML5 Obsolete Attribute

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 21 20:09:28 UTC 2010


#15938: HTML5 Obsolete Attribute
--------------------------+------------------------------
 Reporter:  tomchen1989   |       Owner:  tomchen1989
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Validation    |     Version:  3.0.3
 Severity:  minor         |  Resolution:
 Keywords:  2nd-opinion   |
--------------------------+------------------------------
Changes (by GamajoTech):

 * keywords:  HTML5,Validation,Obsolete,Attribute => 2nd-opinion


Comment:

 To be pedantic, most parts of HTML5 are not at Recommendation stage, and
 the summary attribute is valid for HTML4. At this moment in time, the
 current working draft of the Tabular Data module DOES include the summary
 attribute as there's no ideal replacement for it, meaning the validator is
 not correct.

 In this case however, the value of "Calendar", while nicely surmising the
 table, does little to aid visually impaired users, especially when there's
 arguably a more descriptive caption element (month name + 4 digit year)
 right after that would be read out.

 The relevant bit from http://www.w3.org/TR/html5/tabular-data.html:

   The summary attribute on table elements was suggested in earlier
 versions of the language as a technique for providing explanatory text for
 complex tables for users of screen readers. One of the techniques
 described above should be used instead.

   In particular, authors are encouraged to consider whether their
 explanatory text for tables is likely to be useful to the visually
 impaired: if their text would not be useful, then it is best to not
 include a summary attribute.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15938#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list