MDL-35918 javascript: dialogues screen reader support
authorRyan Wyllie <ryan@moodle.com>
Thu, 10 Sep 2015 08:17:19 +0000 (08:17 +0000)
committerRyan Wyllie <ryan@moodle.com>
Tue, 29 Sep 2015 04:48:57 +0000 (04:48 +0000)
commitf56ae5a7accac40d6f926c1a8024c8ce30a739ac
tree52fab12ae781c597f33e508c339076cd8b0b2ba2
parentf49551054854de12513d9787b28c15ed0a6a0f1b
MDL-35918 javascript: dialogues screen reader support

The YUI notification dialogues will now set the appropriate
aria attributes when they are shown/hidden to allow screen
readers to navigate them correctly.

When the dialogue is shown all background elements will be marked
as hidden while the dialogue is marked as visible to a screen reader.

When the dialogue is closed the modified elements will be reverted
to their previous state and the dialogue will be marked as hidden to
a screen reader.
lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-debug.js
lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue-min.js
lib/yui/build/moodle-core-notification-dialogue/moodle-core-notification-dialogue.js
lib/yui/src/notification/js/dialogue.js