Page MenuHomePhabricator

Echo: Help tooltip in preferences is not accessible
Closed, ResolvedPublic

Description

The help tooltips in the preferences, used by the Echo extension are not accessible.

These are being generated by HTMLCheckMatrix in includes/htmlform/fields/HTMLCheckMatrix.php in mediawiki-core. We need to make this accessible. Possibly by using aria-labelledby, see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-labelledby_attribute and https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:04 AM
bzimport set Reference to bz52711.
bzimport added a subscriber: Unknown Object (MLST).
Prtksxna renamed this task from Help tooltip in preferences is not accessible to Echo: Help tooltip in preferences is not accessible.Nov 8 2017, 4:59 AM
Prtksxna updated the task description. (Show Details)
Prtksxna subscribed.

I'd like to mentor this during Google-Code-in-2017.

Gonna look later on my PC at home if my changes work, after that I will upload my patchset :)

This comment was removed by divadsn.

So we need an additional attribute in HTMLCheckMatrix for aria-labelledby so the Echo extension can make a use of those for accessibility?

So we need an additional attribute in HTMLCheckMatrix for aria-labelledby so the Echo extension can make a use of those for accessibility?

Yep, that is correct.

I've got an even better idea, as I noticed that tipsy.js is replacing title with original-title, I just renamed original-title to aria-label, so we've got it fixed for every tooltip :)

Change 398611 had a related patch set uploaded (by Divadsn; owner: Divadsn):
[mediawiki/core@master] Fix tooltip accessibility for screen readers

https://gerrit.wikimedia.org/r/398611

Change 398611 merged by jenkins-bot:
[mediawiki/core@master] Fix tooltip accessibility for screen readers

https://gerrit.wikimedia.org/r/398611