Opened 3 years ago
Last modified 3 years ago
#52535 assigned defect (bug)
Excess text read with errors in Media Library
Reported by: |
|
Owned by: |
|
---|---|---|---|
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.
Removing
trunk
as the version as the root cause likely predates 5.7.