(shaper_fixter) off canvas: sub menu icon not registering in screenreader/voiceover. - Forum | JoomShaper
Staff replied Helix Framework

(shaper_fixter) off canvas: sub menu icon not registering in screenreader/voiceover.

Asked by Savicon AS 5 years ago Last activity 5 years ago

When navigating the offcanvas menu with VoiceOver on iPhone, there is no indication of the existence of submenus or any interactive element to toggle the visibility of sub menu items (equivalent of the visual "+" icon). This is a major issue in terms of accessibility.

Has anyone run into this and found a way to fix it without breaking the visual appearance of the offcanvas menu?

7 replies

Rashida Rahman Staff

Hi there!

Thanks for contacting us.

Would you please give me a video showing the whole issue, please?

It will help me to understand if I get you right or not.

Best Regards

Pavel
5 years ago · edited

Has anyone run into this and found a way to fix it without breaking the visual appearance of the offcanvas menu?

Hi. You can try fix it via jQuery. Create custom.js file and place following code there.

This will add accessibility attributes to the menu-toggler button.

Savicon AS Asked this

Hi Pavel, thanks a bunch - this indeed lets ScreenReader recognize the button!

However, we are still just half the way there in terms of functionality. Having the button selected, the browser navigates to the parent page upon confirmation, instead of expanding the list of subpages in the menu, as it does when not using VoiceOver (intended behaviour). Any idea why this might be and/or how to fix it?

All the best

Pavel
5 years ago · edited

Hi. I just started to dive into the subject of accessibility. Therefore, I still do not know much. But, I think if you take a look at the Aria documentation, you will find the desired attributes for this. And then they can be added using the same code.

Perhaps still need something like aria-haspopup="true" and aria-expanded="false"

Pavel

In general, this problem is not from the template, but from Joomla core (standart Menu Module). Therefore, I do not think that this is a question for a Joomshaper team.

Rashida Rahman Staff
5 years ago · edited

Hi there!

I have checked your video.

And yes, as Pavel says it relates to the Joomla core, but I will let know our team about it.

Best Regards

Log in to reply.