-
Notifications
You must be signed in to change notification settings - Fork 0
Entity Nav Breadcrumb
This was a fairly straightforward entity prototype, except for two concerns:
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.
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 ul
s 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.