[wp-trac] [WordPress Trac] #24098: Support for HTML5 roles

WordPress Trac noreply at wordpress.org
Tue Apr 16 07:44:16 UTC 2013


#24098: Support for HTML5 roles
-------------------------------------+-------------------------
 Reporter:  aniketpant               |       Type:  enhancement
   Status:  new                      |   Priority:  normal
Milestone:  Awaiting Review          |  Component:  General
  Version:  trunk                    |   Severity:  normal
 Keywords:  needs-patch 2nd-opinion  |
-------------------------------------+-------------------------
 I was going through http://core.svn.wordpress.org/trunk/wp-
 includes/kses.php and I realized that most of the new HTML5 tags have been
 introduced but `role` is a missing attribute.

 I feel that since WordPress has already made a move towards HTML5 by
 supporting `<article>`, `<section>` and other tags, all attributes should
 be made available too. `role` should be added to the required tags falling
 under `$allowedposttags`.

 Go through the link for more information on
 [http://www.w3.org/wiki/PF/XTech/HTML5/RoleAttribute roles].

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24098>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list