[wp-trac] [WordPress Trac] #63114: No screen reader announcements for upload image errors
WordPress Trac
noreply at wordpress.org
Sun Mar 16 15:50:09 UTC 2025
#63114: No screen reader announcements for upload image errors
---------------------------+-----------------------------
Reporter: joedolson | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Keywords: needs-patch
Focuses: accessibility |
---------------------------+-----------------------------
When an image upload fails, there should be a screen reader announcement
to go along with the visible notice of the error.
Additionally, there should be a confirmation announcement for screen
reader users when the error is dismissed.
See #60074.
The initial screen reader announcement should match the visible
announcement, e.g. "filename.file has failed to upload". In my opinion,
the additional reasons given are not very useful; the notification of
failure is sufficient, and the user can explore to discover further
information.
The dismiss button is in context, and could use `aria-describedby` for an
explicit relationship with the notice being dismissed to provide
confidence. The error message can simply be "Error dismissed".
There's no need to provide further detail on the error message being
dismissed, because there is no action performed here *other* than the
removal of a message; it's a non-breaking, non-critical action, which will
happen automatically on leaving the page, anyway.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63114>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list