[wp-trac] [WordPress Trac] #47156: Consider a way to clear the wp.a11y.speak() live regions
WordPress Trac
noreply at wordpress.org
Wed Oct 16 14:08:22 UTC 2019
#47156: Consider a way to clear the wp.a11y.speak() live regions
-------------------------------------+-------------------------------------
Reporter: afercia | Owner: afercia
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-screenshots | Focuses: accessibility,
wpcampus-report needs-patch | javascript
-------------------------------------+-------------------------------------
Comment (by afercia):
Looking back at this issue, the main problem with clearing the ARIA live
regions after a certain delay is that the delay value would be totally
arbitrary. For example, let's consider a 10 seconds delay. What happens
if, after some user action, a ''second'' message is sent to the ARIA live
after 10 seconds or a bit before / after? Would screen readers be able to
get the text change soon before or after the regions has been cleared? In
my experience, screen readers need some time to get aware of and announce
a text change. Thus there's always the change they might miss a text
change and not announce anything.
During the recent WordCamp Verona (Italy), [https://github.com/MignamiS
Simone Mignami] suggested an alternative, simpler, option. Placing some
visually hidden text before the ARIA live regions would allow to
communicate those are a "notification area", letting users understand the
text is a notification that might be no longer relevant. I'd like to hear
the accessibility team thoughts on this approach, which seems reasonable
to me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47156#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list