[wp-trac] [WordPress Trac] #33312: WP a11y speak and iframes: doubled live regions
WordPress Trac
noreply at wordpress.org
Sat Aug 8 16:06:24 UTC 2015
#33312: WP a11y speak and iframes: doubled live regions
---------------------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.2
Severity: normal | Keywords:
Focuses: accessibility, javascript |
---------------------------------------+-----------------------------
Whenever there is an iframe '''and''' the wp-a11y script is enqueued, the
polite and assertive live regions get appended twice, the first time in
the main body and the second time in the iframe's body. For example, this
happens when the Plugin details modal opens, see screenshot below.
This should be definitely avoided, also because sometimes screen readers
announce "alert" when the modal dialog's iframe loads. Live regions should
be appended only to the top level body.
[[Image(https://cldup.com/dhjbPol34X.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33312>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list