[wp-trac] [WordPress Trac] #17632: HTML 5 Validation issues (theme independent)
    WordPress Trac 
    wp-trac at lists.automattic.com
       
    Wed Jun  1 07:52:09 UTC 2011
    
    
  
#17632: HTML 5 Validation issues (theme independent)
--------------------------+-----------------------------
 Reporter:  amirhabibi    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.1.3
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Wordpress often adds the rel attribute to links.
 For example rel="category" or rel="attachment" etc...
 Apparently these keywords are not allowed in html 5 :
 http://www.whatwg.org/specs/web-apps/current-
 work/multipage/links.html#linkTypes
 So the validation fails :-/
 These attributes are a bit hardcoded. You can use regex in filters or
 javascript solutions to remove them, but this is not a good solution.
 I think this problem is now a bug, if you consider the importance of code
 validation.
-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17632>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
    
    
More information about the wp-trac
mailing list