[wp-trac] [WordPress Trac] #17611: TwentyEleven Theme H1 Priority

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 17 13:50:31 UTC 2011


#17611: TwentyEleven Theme H1 Priority
---------------------------+-----------------------
 Reporter:  emiluzelac     |       Owner:
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  3.2
Component:  Bundled Theme  |     Version:  3.2
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+-----------------------
Changes (by Elpie):

 * cc: Elpie (added)


Comment:

 Just a few issues I want to raise:

 A more traditional h1-h6 heading structure is the ONLY structure that
 currently works for all browsers and assistive devices. Ref:
 http://www.456bereastreet.com/archive/201106/on_using_h1_for_all_heading_levels_in_html5/

 Using <hgroup> is perilous. In the last couple of months it has been in
 the draft, removed from the draft, and back in - pending more research. It
 is designed only for outline algorithms, with the outline algorithm
 showing only the highest level heading tag. It is currently not used by
 any browsers or assistive devices.

 Post titles on the home page should not be all h1. This makes the outline
 completely flat and will cause problems for screen readers and other
 assistive devices.

 Not related to heading elements:
 tabindex can be (and should be) removed. This was a useful technique back
 in the 1990's to provide some keyboard accessibility for documents that
 were badly structured. TwentyEleven has issues with keyboard navigation at
 the moment. However, changing headers and removing tabindex should
 eliminate these.

 For consistency, you might want to look at using HTML 5 for the forms.
 Some other elements are also not HTML 5 - such as <br />. This should be
 <br>. type="text/css" and type='text/javascript' are also not used in HTML
 5. Removing these only saves a few bytes but would be good practise in a
 showcase theme.

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


More information about the wp-trac mailing list