Last modified: 2014-06-17 17:02:50 UTC
Created attachment 10116 [details] patch for displaying the collapsible nav items as links This bug is mentioned in the accessibility report carried out by the swiss foundation "Access for all" (see paragraph 1.3.2.1). http://www.thirdageonline.eu/project-tao-2/software-development/mediawiki-accessibility-enhancements/ The navigation items that collapse subitems are not displayed as links, which makes it impossible for users of screen readers to understand that these actually are links. I propose the attached patch to fix this one. The patch adds h5-tags to the collapsible items and extends its CSS definitions to still look the same.
Sorry, the patch adds link tags to the collapsible items, h5 tags are already there.
This would seem to make the portal section titles links even if they are not collapsible...? Should this only be done in JS when the collapsible links are being set up, maybe?
or we can just add role's of course.
Created attachment 10201 [details] patch for displaying the collapsible nav items as links I took Brion's comment into consideration. The navigation elements' content is changed during the javascript methods that add the collapsible css class, so collapsible/expandable headings become links "on demand".
https://gerrit.wikimedia.org/r/8605 One last thought.. it is the href required?
Yes, links missing the href attribute are not recognized by screen readers.