Last modified: 2013-08-09 18:12:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54677, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52677 - Create jquery.accessibility library to handle accessibility attributes of actionable elements
Create jquery.accessibility library to handle accessibility attributes of act...
Status: NEW
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.22.0
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-09 18:06 UTC by Bartosz Dziewoński
Modified: 2013-08-09 18:12 UTC (History)
5 users (show)

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


Attachments

Description Bartosz Dziewoński 2013-08-09 18:06:02 UTC
We need a jquery.accessibility library to handle accessibility attributes of actionable elements, like 'tabindex' and 'role', with a single line of code.


It's non-trivial because, quoting TheDJ from change 78071:

> Role overrides implicit role of an element. Since here we don't know
> the original element type that we are overriding, we shouldn't just
> set the role. It might break th, li etc items.

> In the long term, we should add a jquery.accessibility lib that can
> take into account things like this, without having to write a ton of
> code.


Reference:
* http://www.w3.org/TR/xhtml-role/#s_role_module_attributes
* http://www.w3.org/1999/xhtml/vocab/
Comment 1 Bartosz Dziewoński 2013-08-09 18:09:05 UTC
Related:
* https://gerrit.wikimedia.org/r/78071
* https://gerrit.wikimedia.org/r/78066

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


Navigation
Links