Closed (works as designed)
Project:
Zen
Version:
7.x-3.x-dev
Component:
CSS/HTML markup
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2011 at 15:40 UTC
Updated:
18 Sep 2011 at 06:51 UTC
Installed version 7.x-3.x-dev. In the default page template, there is at least one h2 element that comes before the h1 element of the title (if it has a title). It happens in the breadcrumb and also in the secondary menu. This leads to default HTML output with an h2 and then an h1 - the h1 should be the first heading element and all the rest subsidiaries of it.
Comments
Comment #1
johnalbinThis will get fixed automatically in the HTML5 version of Zen (watch the 7.x-5.x branch) with the new outline algorithm used in HTML5.
But how would you suggest fixing this problem in 7.x-3.x? We need to place Drupal's user menu in the top right for UX reasons and we need to place the page title just above the page content.
Also, to play devil's advocate, who are we harming by putting the user menu and its h2 before the page content's h1?
Besides English teacher’s sensibilities?Edit: Whoops. Let me try again… Besides English teachers’ sensibilities? ;-)Comment #2
johnalbinClosing.