DJ-MegaMenu has been updated to version 4.3.1. It introduces several changes and improvements, and the most important novelty is the Focus Indicators feature for better website accessibility (according to WCAG 2.2 guidelines).
When the keyboard users navigate the menu using the keyboard, they jump from one interactive element to the next.
Previously in DJ-MegaMenu, the focus element relied on the browser and was not forced by the module - so it looked different depending on the browser used by users. In this version of DJ-MegaMenu, we have considered the guidelines for WCAG 2.2 when it comes to the focus element. It has a 2px wide border that outlines selected menu items when using the keyboard to navigate between them, consistent in all browsers.
That feature in itself does not require any action in the settings of the DJ-MegaMenu module. However, for it to work properly, you have to enable Keyboard access (WCAG 2.1).
Open the DJ-MegaMenu module, and navigate to Mega Menu Options -> Keyboard access (WCAG 2.1) - that option needs to be set as "enabled."
You can also customize the focus border color in the Mega Menu module options.
Open the DJ-MegaMenu module, and navigate to Mega Menu Options. The "Customize colors" option needs to be set as "Yes."
Scroll down to the "Focus border-color" option. Now you can choose the focus color and a transparency level, where 1 is not transparent, 0.5 is 50% see-through, and 0 is completely transparent. The color can be chosen from the color palette or defined by typing RGBA parameters.
Along with the new features, we've implemented three bug fixes.
We've recently launched the new DJ-MegaMenu demo site based on Joomla 4. It uses the new theme (Modern) and the latest version of the Menu extension (4.3.1).