I was playing around with Drupal 7 today and added the Recent Content block the the Highlighted Content section of Garland. An example of this setup can be found at http://zufelt.ca/events/Attending-Drupalcon-SF2010-San-Francisco-April-1...
I notice that Garland outputs the content of this page in the following order
- Navigational links
- Breadcrumb
- Recent Content
- Node-title / main content
As there is a meaningful relationship between the last element of the breadcrumb and the node-title it seems like having the markup for the highlighted content region output between these two is not the best for semantics or for accessibility. Being blind I don't have a good sense of the visual relationship between these elements, or of the focus flow issues that may occur if changes are made.
Comments
Visual Layout of Your Page
To understand what happened, I am going to try a describe the visual layout to you. At the top the page is the header, which includes the "skip to content" link and your blog title. The left sidebar contains the navigation menu and the search block. The content section, which is directly to the right of the left-sidebar, contains the breadcrumb, the recent content block, and then the main content in a vertical order.
If you had put the Recent Copmments in the left sidebar, it would have appeared above the breadcrumb, along with the navigation menu and search dialog box. Immediately after the breadcrumb would be the main content.
While I don't have Drupal 7 installed, I think there must be a a horizontal row of regions above the left sidebar and content regions. The breadcrumb does not appear as a block in its own region, but is part of the header area. Thus, when you put the recent comment block in the region above the comments, you actually ended up with the output appearing as you described it.
Themes determine the order of the regions. For example, some themes have the left sidebar appearing below the content, when you see it without CSS, or in a screen reader. My quick check is just to turn off CSS, so that I can view the order in which the regions will appear to a screen reader.
@billsdesk Thanks for the
@billsdesk
Thanks for the comment.
It would seem to me that there is a problem if the breadcrumb and main-content are separated by the Highlighted content region. As AFAIK, there is a final relational separator ">" at the end of the breadcrumb, which I think should be creating a relationship between the breadcrumb and the node-title.
I can think of two ways to solve this.
Put the breadcrumb after the Highlighted Content region.
Add the node-title to the end of the breadcrumb in theme_breadcrumb()
Accessibility Consultant & Web Developer - Zufelt.ca
@ezufelt on Twitter | LinkedIn profile
Breadcrumb settings for Zen theme
Hi Everett,
The Zen theme provides two options on its settings page for the breadcrumbs:
hth
Frank
Frank
My LinkedIn profile
Answer to your questions
I did a site wide search on breadcrumbs, and there is a lot of discussion about this topic. In regards to your possible solutions:
Thanks
@billsdesk
Thanks for the recommendation of the Custom Breadcrumb module. However, I'll clarify here that I am not really concerned about my site in particular, as much as I'm concerned that core themes are highly semantic and highly accessible.
Accessibility Consultant & Web Developer - Zufelt.ca
@ezufelt on Twitter | LinkedIn profile