During the installation process of Drupal 7 installation progress is displayed as both a percentage and as a description of the task number and task being completed. This information is not automatically read for screen-reader users.
It is recommended to use an ARIA live region so that screen-reader users can be automatically alerted to the progress of the Drupal installation.
For an example see http://accessibleajax.clcworld.net/simple/live_polite.htm
For more information see http://wiki.codetalks.org/wiki/index.php/Set_of_ARIA_Test_Cases#aria-live
Comment | File | Size | Author |
---|---|---|---|
#13 | installation-progress-aria-513946-2.patch | 943 bytes | mgifford |
#3 | installation-progress-aria-513946-1.patch | 781 bytes | Everett Zufelt |
Comments
Comment #1
Everett Zufelt CreditAttribution: Everett Zufelt commentedCorrected spelling
Comment #2
mgiffordAdding accessibility tag.
+1
Comment #3
Everett Zufelt CreditAttribution: Everett Zufelt commentedThis patch modifies misc/progress.js to add the aria-live attribute to the div container for the installation progress. The attribute is added as aria-live="polite".
This change provides updates to browsers and assistive technology which support aria when the installation progress has changed. In the case of a screen-reader the installation progress is then spoken aloud.
Tested with JAWS 10.0.1154 / FF 3.5.
Comment #4
mgiffordPatch applies nicely.
Looks like you're just adding 'aria-live="polite"' so I don't see any reason not to bring this into core.
Comment #5
Everett Zufelt CreditAttribution: Everett Zufelt commentedTested this patch today with JAWS10 / IE8 and Orca 2.22.2 / IceWeasel (Firefox) 3.0.6. Seems to be working well.
Also of interest blog article on screen-reader support for ARIA live regions.
Comment #6
Cliff CreditAttribution: Cliff commentedSubscribe. And +1. (Two things one should be able to do without appearing to have commented.)
Comment #7
mattyoung CreditAttribution: mattyoung commented.
Comment #9
mgiffordBad bot. Ran just fine on a fresh install of the cvs for me.
Comment #10
mgiffordThis is a simple patch that will help blind users install Drupal easier.
Comment #11
webchickCould we document what this property is for in the source code? Looking at that I'd have no idea what that was for. I'd also immediately want to change 'polite' to 'rude' and see what happened. ;)
Comment #12
mgiffordGood comment! I think aria-live="rude" would just be ignored by the screen reader. However, the possible settings are (at this point) just:
off/polite/assertive where off is the default.
Some related links:
http://wiki.codetalks.org/wiki/index.php/Set_of_ARIA_Test_Cases
http://www.w3.org/WAI/PF/aria-practices/
If this documentation fits the requirements for javascript & clarity I'll re-roll the patch.
Comment #13
mgiffordadding comment as per above to the patch.
Comment #14
mgiffordSetting this back to rtbc.
Comment #15
webchickCool, thanks! Committed to HEAD.