Skip to main content

DJ-MegaMenu 4.3.1 with the Focus Indicators feature for better website accessibility

| Andrzej Herzberg | News

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).

Get DJ-MegaMenu 4.3.1 version Pro.

Accessible focus indicators

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.

MegaMenu focus feature key navigation

How to enable the focus indicators feature?

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." 

Keyboard access WCAG 2.1

Customization focus border

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.

Focus border color option

IMPORTANT. To maintain the accessible menu contrast, you must match the focus color if you have customized the theme's colors.

Bug fixes

Along with the new features, we've implemented three bug fixes.

Check the ver 4.3.1 changelog

DJ-MegaMenu Demo page

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).

Visit the DJ-MegaMenu demo site.

We need to remind you that the DJ-MegaMenu extension is available in two versions - premium and light.

DOWNLOAD DJ-MEGAMENU LIGHT FOR FREE

The blog post's content comes from the DJ-Extensions website: DJ-MegaMenu 4.3.1 update brings a new accessible WCAG focus indicators    

Active subscribers of the Joomla-Monster template, which uses DJ-MegaMenu can download the latest version of the menu extension

Want to know more?