Postponed
Project:
Drupal core
Version:
main
Component:
Umami demo
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 May 2018 at 10:28 UTC
Updated:
18 Aug 2026 at 12:38 UTC
Jump to comment: Most recent
Comments
Comment #2
andrewmacpherson commentedThanks for filing the follow-up, this is one of the things I classed as a should-have in #2940023: [PP-1] Improve accessibility of Umami's responsive main menu.
Promotingi it to major, as this relates to two WCAG success criteria at level A - 1.3.1 Info and Relationships, and 2.4.1 Bypass Blocks. Specifically, it's about our implementation of technique ARIA11: Using ARIA landmarks to identify regions of a page.
Having said that, I don't think it needs to be a stable-blocker for OOTB - reasons follow....
Bypass Blocks is really about helping users to be able to skip past blocks, but this issue is about the button not being found inside the right landmark region when a user intentionally skips into the navigation region. The fact that we have landmark regions at all, and the menu defaults to collapsed at narrow breakpoints, and there's a skip-to-main-content link, means we have Bypass Blocks covered well.
It's more of an issue for the "Info and Relationships" criterion. An assistive tech user who jumps to the navigation landmark, at the narrow breakpoint, may not find the button to open the menu. Now this is mitigated in a few ways, so users don't necessarily face a brick-wall barrier in finding the button:
Comment #3
hiway commentedPlease take a look at the path in this issue https://www.drupal.org/project/drupal/issues/2973257. I made some changes for the main menu button there. I kept the principals of the Inclusive components https://inclusive-components.design/menus-menu-buttons/ there, may be that will be a solution.
Comment #5
andrewmacpherson commentedThis should wait until #2940023: [PP-1] Improve accessibility of Umami's responsive main menu is in. That's progressing well, and it's more important to get the JS behaviour stable first.
@hiway I took a look at patch #4 on the other issue. It doesn't address this issue - this is solely about what landmark region the button is placed in.
I've updated the issue summary, to show approximately what the DOM looks like before & after.
After using patch #46 from #2940023: [PP-1] Improve accessibility of Umami's responsive main menu,
I tried a quick edit of the
block--umami-main-menu.html.twigtemplate, just moving the button inside the Navy element, so it was between the H2 and the UL. I just wanted to see what would break.It wasn't too bad. The JS/ARIA behaviour still worked. The button moved to the centre if the column, and down to just beneath the site logo.
So hopefully we can fix that with a CSS position.
Comment #16
smustgrave commentedNot sure if Umami is being deprecated is this still valid?
Comment #17
mgiffordAdding #2973257: Create the Umami Menu Toggle Button via JS so it's not present when JS is not enabled as either these bugs will depend on how Umami is deprecated.