- 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺
I think this was already fixed by #3185081: UL and LI element roles are not accessible →
- Status changed to Closed: duplicate
over 1 year ago 12:39am 12 September 2023
I want the pages with a TOC to be accessible.
Default install and configure the module.
Add TOC to a content type, open it and test it with e.g. WAVE.
This shows a 'Broken ARIA menu''-error:
An element with role="menu" does not contain at least one element with role="menuitem", role="menuitemcheckbox", or role="menuitemradio".
In the javascript the items in the menu get the role 'presentation', see
toc_js/js/toc_js.js:59
if changed to 'menuitem' (like the WAVE tool suggests) the error disappears.
But I'm not an A11Y-expert and not absolutely certain this is the correct solution.
Closed: duplicate
2.0
Code
It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I think this was already fixed by #3185081: UL and LI element roles are not accessible →