How to set the access key for menu item?

How to set the access key for menu item?

To assign the access key to the menu item link you need to open the settings of the desired menu item, then open the "DJ-MegaMenu Options" tab and go to the very bottom of the page. 

The Access Key option adds the HTML accesskey attribute to the menu item link. You need to use a single character from the keyboard which will be used to open or focus this link directly with the keyboard shortcut.

Note that this option will work only when the menu will be displayed with our DJ-MegaMenu module.

What shortcut activates the access key?

It depends on the browser and operating system. 

For example on Chrome for Mac, the shortcut is: Ctrl + ⌥ Opt + Access key (so the key you set for the menu item)
For Chrome on Windows, the shortcut is: Alt + Access key, or Alt + Shift + Access key
You can check what shortcut you need to use on your device at Wikipedia:

Activate or focus

In most cases, the link is opened when you use the access key. However, it depends on browser implementation of the access key, but also how the website is interpreted by the browser.

Don't worry, users who use this accessibility browser feature know exactly how it works and will choose the browser which is most easy to use for them and you can check it in the above link from Wikipedia.

Example - see how it works

Take a look at our demo website where the access key is set for the first menu item "Skip to content".

To make a test:

  1. go to: https://demo.dj-extensions.com/dj-megamenu/
  2. on your keyboard use the Access key combination + C ( for example, for Chrome on Windows: Alt + C, on Mac: Ctrl + ⌥ Opt + C )
How to use access key with accessible Joomla Mega Menu

      • Related Articles

      • Options in menu item

         Remember to enable the DJ-MegaMenu system plugin, it will display an additional parameter tab in the menu item form. Let's see the available options in the menu item. Hide item name - yes/no Show menu item in - choose to show menu item in mega menu, ...
      • How to set a starting tab in a menu item

        You can set the starting tab in the menu item
      • Creating new Custom Item

        To create new Custom Item click on the  New Item  button from the Control Panel and you will be directed to the form display below. Note that you need to create at least one Album to be able to save new Custom Item. There are two columns in this ...
      • Add item from backend

        Click on the Add Item button from the Control Panel, and you will be directed to the page: Short description New Name – enter the name of the advert Alias – enter alias Type – select type of ad Price – enter the price of the product Price negotiable ...
      • How to add icon to menu item title?

        Adding icon to menu item title is core Joomla! feature supported by our menu module. To add the icon please go to the menu item edit form and choose the "Link Image" in "Link Type Options" tab.