benschwarz / developers.whatwg.org

Used to create the contents of developers.whatwg.org
http://developers.whatwg.org/
198 stars 39 forks source link

Bread crumb navigation may not be directory tree / category tree. #83

Closed heporap closed 7 years ago

heporap commented 10 years ago

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> &gt; <a href="/product">Product</a> &gt; <a href="/product/dishwashers">Dishwashers</a> &gt; <a href="/faq/common">common</a> &gt; <a href="/product/dishwasers">Dishwashers</a> &gt; </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>

benschwarz commented 10 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?

heporap commented 10 years ago

Well… The bread crumb navigation is like browser's history buttons. The category tree navigation may be the address bar.

heporap commented 10 years ago

This is a screenshot with Windows Explorere for directory tree sample. directorytree

I reconsider, nested <ul> is more appropriate it.

Sorry for my dirty English.

domenic commented 7 years ago

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!