Closed heporap closed 7 years ago
Your dishwasher example has confused me — Do you have a screenshot of the navigation that you wish to replace with a suggestion what it should be changed to?
Well… The bread crumb navigation is like browser's history buttons. The category tree navigation may be the address bar.
This is a screenshot with Windows Explorere for directory tree sample.
I reconsider, nested <ul> is more appropriate it.
Sorry for my dirty English.
I think this is an issue with the content of the spec, which is better filed at https://github.com/whatwg/html/issues if still relevant. As such, let me close this, but feel free to report it over there if it's still an issue!
Hi.
I think bread crumb navigation is not category tree, but is history tree. So I recommend this sample code for each them.
If you accessed "Main > Product > Dishwashers > FAQ/common > Diswashers" again, the bread crum navigation / history tree might be: <p> <a href="/">Main</a> > <a href="/product">Product</a> > <a href="/product/dishwashers">Dishwashers</a> > <a href="/faq/common">common</a> > <a href="/product/dishwasers">Dishwashers</a> > </p>
and category tree might be: <ol> <li><a href="/">Main</a></li> <li><a href="/product">Product</a></li> <li><a href="/product/dishwashers">Dishwashers</a></li> </ol>