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

johnalbin’s picture

Status: Active » Postponed (maintainer needs more info)

This 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? ;-)

johnalbin’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Closing.