[wp-trac] [WordPress Trac] #63114: No screen reader announcements for upload image errors
WordPress Trac
noreply at wordpress.org
Mon Jul 28 03:48:05 UTC 2025
#63114: No screen reader announcements for upload image errors
--------------------------+----------------------------
Reporter: joedolson | Owner: joedolson
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.9
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility
--------------------------+----------------------------
Changes (by peterwilsoncc):
* keywords: has-patch has-test-info commit => has-patch
* status: closed => reopened
* resolution: fixed =>
Comment:
@joedolson Sorry, I missed that this was been worked on.
The `esc_js()` function in [60263] ought to be `wp_json_encode()` as the
former is for inline script handlers and includes escaping for HTML
attributes along with escaping for JS.
I've put together a [https://github.com/WordPress/wordpress-
develop/pull/9332 pull request to replace the escaping].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63114#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list