Make WordPress Core

Opened 4 years ago

Last modified 10 days ago

#52535 assigned defect (bug)

Excess text read with errors in Media Library

Reported by: joedolson's profile joedolson Owned by: rcreators's profile rcreators
Milestone: 6.8 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 (11)

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


4 years ago

#2 @hellofromTonya
4 years 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.


4 years ago

#4 @ryokuhi
4 years ago

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

#5 @ryokuhi
4 years ago

  • Milestone changed from Awaiting Review to Future Release

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


3 months ago

#7 @joedolson
3 months ago

  • Milestone changed from Future Release to 6.7
  • Owner changed from joedolson to rcreators

@rcreators will give a shot to figuring this out for 6.7.

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


2 months ago

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


2 months ago

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


10 days ago

#11 @joedolson
10 days ago

  • Milestone changed from 6.7 to 6.8

Moving to 6.8; @rcreators still intends to follow up, but won't manage it in 6.7.

Note: See TracTickets for help on using tickets.