[wp-trac] [WordPress Trac] #47120: Media modals: Upload errors and field information are not associated with their control
WordPress Trac
noreply at wordpress.org
Mon Feb 1 16:42:55 UTC 2021
#47120: Media modals: Upload errors and field information are not associated with
their control
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: antpb
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.7
Component: Media | Version:
Severity: normal | Resolution:
Keywords: wpcampus-report has-patch dev- | Focuses: ui,
feedback | accessibility
-------------------------------------------------+-------------------------
Comment (by joedolson):
The change is the addition of `aria-live="assertive"` on the container
that receives the error, as well as the addition of `tabindex='-1'` on the
parent container.
I can see that the tabindex is added, but yet the container doesn't
receive focus & the message isn't spoken on the first error, only on
subsequent errors. My theory is that some backbone refresh is occurring
around the assignment of focus that disrupts this, but I just can't see
what's happening.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47120#comment:57>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list