[wp-trac] [WordPress Trac] #32600: wp.a11y.speak improvements
WordPress Trac
noreply at wordpress.org
Fri Jun 12 17:53:06 UTC 2015
#32600: wp.a11y.speak improvements
----------------------------------+----------------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch dev- | Focuses: accessibility, javascript
feedback |
----------------------------------+----------------------------------------
Changes (by afercia):
* keywords: => has-patch dev-feedback
Comment:
First pass. Initially tried to have just one live region and dynamically
update the `aria-live` attribute switching its value as seen in other
implementations but after some testing I'm not convinced all screen
readers out there can get that right. Decided to go with two separate live
regions.
The patch also changes the `aria-relevant` attribute to the default value
`additions text` and introduces one new function to clear the live regions
in order to allow repeated strings to be read out.
Tested and it's functional, would appreciate some devs eyes about best
practices, code cleaning, etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32600#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list