Skip to content

Accesibility error Megamenu T3 Joomla 4.4.13 #585

@bsylwek

Description

@bsylwek

Hallo

I add focus to navigation using the tab key on the keyboard and then enter and it works for me. Where can I add the tag below to enable the menu to expand?
This functionality probably wasn't added to your templates in the megamenu, and it is apparently very important now.

In which template and megamenu file should I add this?

Menu items that have a dropdown should include an aria-haspopup="true" attribute.

Will it work if I add in the T3 template file in this location? Do I need to add somewhere else in the template file? This is very important now to have accessibility? I have T3 Framework version 3.2.3

plugins/system/t3/includes/menu/megamenu.tpl.php

    $vars['aria'] = 'aria-haspopup="true"';

and more line $aria

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions