-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UX] Be consistent about appending the parent page to the breadcrumb (or not). #1509
Comments
The current behavior is pretty much exactly consistent with the path shown in the URL. Whether that's intuitive or not is up for question. If you are at If you click "Index", now you are at There are hidden URLs for the default primary tab, such as
So right now, URLs and Breadcrumbs are nearly identical in output. If we decide to change this so that the parent menu item of default tasks is also shown, we'll be introducing a different kind of inconsistency. |
Done! |
...as for this issue here. I filed it because it bothered me that when switching from one local task (that happened to be the default) to another, there was something added in the breadcrumb although I did not change level/depth. ...and the other way 'round, when switching through various local tasks, the breadcrumb was consistent until I switched to the first/default task. At that moment, the breadcrumb was cut short for some reason. |
Well not exactly consistent. The consistency lies in the fact that we do this for all default primary tabs. But that is not consistent with the rest of the primary tabs. Now with redirect in core, I think it's time to sort this issue (with BC added):
So, how I envision things is that instead of this:
...we get this:
|
Somewhat similar/related to #1508
This inconsistency has been bothering me for some time. It makes pages with non-default (other than the first) tabs seem to be having a duplicate/extra breadcrumb trail, while the default pages don't have it...
So for example in
/admin
(where the "Tasks" tab is the default tab) we have this as a breadcrumb/title/tab combo:Home > Administration > Tasks
While in
/admin/index
we have:Home > Administration > Administration > Index
...it should instead be like so (lose the "Administration" part of the breadcrumb):
Home > Administration > Index
...or alternatively (if people feel that the "Administration" part of the breadcrumb should stay there for navigation purposes), be consistent and add the parent page as a breadcrumb trail also on default tabs.
Another issue that bothers me here is that the invisible "you are here" breadcrumb code (for use with screen readers I guess) stops at the parent page. I think we should be appending the current tab in the breadcrumb (even if as an invisible element). Separate issue?
The text was updated successfully, but these errors were encountered: