WordPress.org

Make WordPress Core

Opened 10 months ago

Last modified 9 months ago

#52535 assigned defect (bug)

Excess text read with errors in Media Library

Reported by: joedolson Owned by: joedolson
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: accessibility, javascript Cc:

Description

When an error is generated in the media library, the error is read only after reading two separate versions of the page title and the upload media button text. This is most immediately caused by executing the error message in a ._delay call, but this is actually a symptom; the delay is necessary.

This is most likely due to an extra Backbone model refresh that occurs after the error. Resolving this issue may only be possible by refactoring the media library to avoid the additional refresh.

Delaying the execution of the message ensures that the message is read without being interrupted by the extra Backbone refresh; it would be preferable, however, if the extra refresh didn't happen, or happened prior to the error.

This ticket follows #47120, resolving the lack of accessible messages on upload errors.

Change History (5)

This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.


9 months ago

#2 @hellofromTonya
9 months ago

  • Version trunk deleted

Removing trunk as the version as the root cause likely predates 5.7.

This ticket was mentioned in Slack in #accessibility by ryokuhi. View the logs.


9 months ago

#4 @ryokuhi
9 months ago

  • Owner set to joedolson
  • Status changed from new to assigned

#5 @ryokuhi
9 months ago

  • Milestone changed from Awaiting Review to Future Release
Note: See TracTickets for help on using tickets.