Last modified: 2014-08-11 23:17:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 67195 - CPB: Accessibility for keyboard users and screen readers
CPB: Accessibility for keyboard users and screen readers
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
VectorBeta (Other open bugs)
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: accessibility
Depends on:
Blocks: 367 CPB
  Show dependency treegraph
Reported: 2014-06-27 13:53 UTC by Derk-Jan Hartman
Modified: 2014-08-11 23:17 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Derk-Jan Hartman 2014-06-27 13:53:27 UTC
Relevant background:

* Usage of links which are native navigable elements
* use of ul and li, which are native elements with semantic structure.

* When the drop down receives focus, it should automatically uncollapse, Focus should match the hover state is more than just decoration.

* The user page link should have aria-haspopup="true", aria-controls to indicate that it is responsible for controlling the submenu.

* Add aria-hidden: to the primary ul in the flyout to reflect it's 'visibility' to screen readers.

* aria-expanded="true/false" to reflect the 

* Make it an actual menu: ul[role=menu] > li[role=presentation] > a[role=menuitem]

* When doing so make sure you add arrow/enter/space keyboard shortcuts

* role menubar on the entire p-personal, role=menuitem on the individual pt-icons

BTW: Would advise to add a 'CPB ready' event, so that other scripts can hook into it.
Comment 1 Jared Zimmerman (WMF) 2014-06-27 17:39:17 UTC

do you plan on working on this? or just the audit (either is appreciated) just checking. Thanks for the work so far!
Comment 2 Derk-Jan Hartman 2014-06-27 20:02:27 UTC
I haven't planned anything right now. It depends on my time. Took me 2 months to get around to the review ;)
Comment 3 Juliusz Gonera 2014-08-11 23:17:44 UTC
Thanks for this. I can add those points. We have to keep in mind though that most of the JS code for CPB should be disposed of. It should be simply generated in PHP when it's no longer a beta feature. The unfolding of menu is already CSS-only.

Therefore, I'm not sure if there's a point in introducing a CPB-ready event if we were to deprecate it in just a couple of months.

Note You need to log in before you can comment on or make changes to this bug.