Skip to content

Entity Nav Breadcrumb

loganfranken edited this page Aug 9, 2012 · 3 revisions

Logan 8/9/12

This was a fairly straightforward entity prototype, except for two concerns:

"Divider" Element

I'm not a huge fan of including an actual span element to contain a divider glyph. I would prefer that this be accomplished through CSS (either through modifying the actual look and feel of the breadcrumb or using the CSS content property to add the dividers).

However, I think it would be wise for the framework to provide a straightforward way of adding a divider glyph and so the extra span element is a good compromise.

List Semantics

So, breadcrumb navigation presents a bit of a problem because a simple list doesn't quite accurately represent the nested hierarchy of the items within the breadcrumb. A convoluted nesting of uls would probably be the most appropriate (see http://css-tricks.com/markup-for-breadcrumbs/ and http://simplebits.com/notebook/2004/02/23/sqxii-conclusion/).

I feel that using the ol is the best compromise here between simplicity and semantics, possibly enhanced with microdata (see: http://css-tricks.com/markup-for-breadcrumbs/), although that would be something we could address later.