Closed (won't fix)
Project:
The Better Mega Menu
Version:
8.x-1.7
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2022 at 20:07 UTC
Updated:
28 Jan 2026 at 16:50 UTC
Jump to comment: Most recent
Comments
Comment #2
emptyvoid commentedI'm researching this bug for a client.
Reviewing the JavaScript the ability to mouse down to the next item in the menu is based on if the property topLevel is set. Reviewing the code, in mobile menu mode this fails and returns an empty array. There by defaulting to awaiting a tab down to hop to the next menu item.
As I've been told this isn't ARIA or Accessibility compliant at all.
In full screen desktop mode, it detects the menu and properly allows keyboard movement left and right, up and down between first live items. Researching how to debug the topLevel function to properly read menus in mobile state.
frontend.js
line 133
Comment #3
emptyvoid commentedFYI issued a patch fixing this bug in the 2.x-alpha
https://www.drupal.org/project/tb_megamenu/issues/3316164
Please enjoy.
Comment #4
apettine commentedThank you for the heads-up and your time; I look forward to seeing the change in 2.x-alpha.
Comment #5
cosipa_a11y commentedIn the current ARIA 1.2 standard,
aria-levelis supported on elements thelistitemrole (e.g. <li> elements), but in practice there's not much browser / screen reader support for this configuration. Both JAWS and NVDA ignore these attributes.It's worth noting that in the upcoming ARIA 1.3 spec, support for the
listitemrole has been removed fromaria-expanded.Comment #6
rbrownellComment #7
rbrownellThank you for raising this and for the detailed discussion around ARIA roles and expectations.
After reviewing this more closely, I’m going to close this issue. The behaviour described here is not a violation of the currently published ARIA specification (ARIA 1.2). The concerns raised align with changes introduced in ARIA 1.3, however that specification is still in draft and is not yet an official recommendation.
TB Mega Menu’s implementation for the affected branch aligns with ARIA 1.2, which is the applicable standard at this time. This issue also targets an older release that is now only receiving security updates.
Once ARIA 1.3 is finalized, any required changes would be addressed in the latest supported development versions only, and not backported to branches that are in security-fixes-only mode.
For these reasons, this is not considered a bug under the current standard and the issue is being closed.