Skip to content
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

Header: Menu collapses second-to-last item into dots dropdown first. #421

Open
ryelle opened this issue Aug 17, 2023 · 0 comments
Open

Header: Menu collapses second-to-last item into dots dropdown first. #421

ryelle opened this issue Aug 17, 2023 · 0 comments
Labels
[Block] Header & Footer i18n Low Priority This should happen sometime, but other things are more important [Type] Bug Something isn't working

Comments

@ryelle
Copy link
Contributor

ryelle commented Aug 17, 2023

Originally reported on trac by @00travelgirl00

I have noticed a weird behavior in the menu.

When I open https://de.wordpress.org/ and increase the size of the canvas, the menu point "Mitmachen" (get involved), jumps from the second last spot to the last and gets hidden behind 3 dots. That means, that the order of the menu-points are not consistent. I'm not sure, if this already breaks accessibility guidelines for consistency, but it is definitely and unexpected und confusing behavior.

My suggestion would be, to keep the order of the menu points. If the Menu-point "Mitmachen" should get reduced first, put it on the last spot also in the menu in Desktop

Full menu:
Screen Shot 2023-08-17 at 17 59 28

Wrapped menu (in this case, because I've shrunk the screen size, but this could also be triggered as above, by increasing the text size).
Screen Shot 2023-08-17 at 17 59 08

This is due to the menu-wrapping JS (#21) — no matter what element is in the last position of the menu, the first thing to collapse is always the second-to-last.

I've also tagged this i18n because the main (English) site's menu is short enough that it does not trigger the wrapping before switching to the mobile view, but Rosetta sites can add more content to the menu, meaning they might wrap.

@ryelle ryelle added [Type] Bug Something isn't working [Block] Header & Footer Low Priority This should happen sometime, but other things are more important i18n labels Aug 17, 2023
@ryelle ryelle added this to the Navigation Iteration milestone Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Header & Footer i18n Low Priority This should happen sometime, but other things are more important [Type] Bug Something isn't working
Projects
Status: 📋 To do
Development

No branches or pull requests

1 participant