[wp-trac] [WordPress Trac] #49950: Twenty Twenty: with horizontal menu, submenu should be dismissible
WordPress Trac
noreply at wordpress.org
Sun May 5 22:27:37 UTC 2024
#49950: Twenty Twenty: with horizontal menu, submenu should be dismissible
-------------------------------------+-------------------------------------
Reporter: lcarevic | Owner: joedolson
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.6
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses: accessibility,
changes-requested needs-refresh | javascript
-------------------------------------+-------------------------------------
Comment (by joedolson):
I tested this as well, but I don't see quite the same experience as @poena
> Pressing tab again, I am expecting to be able to use the submenu, but
the submenu is no longer visible, and I can't see where the focus is.
1) I can't replicate this issue.
> I can only use the escape key once to close a submenu.
2) I replicated this issue.
> If I navigate with they keyboard past the menu and navigate backwards
with Shift + Tab, focus moves to the wrong element. It moves to the parent
menu item, not the the last item in the submenu.
3) In my opinion, this change is an improvement, since it allows the
navigation of the menu to be sped up both forward and backwards. However,
if it's not a necessary change, it could be eliminated. I'm not sure the
toggling of visibility is actually necessary to this change.
I also found an additional issue - the menu no longer closes when the link
loses focus by means *other* than a keypress. E.g., if you tab onto the
parent menu then click on the page, the menu stays open. A loss of focus
by click should also be considered intent to close the menu.
>
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49950#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list