[wp-trac] [WordPress Trac] #28857: Media Grid: Manage focus when toggling between the grid and an edit attachment modal
WordPress Trac
noreply at wordpress.org
Thu Jul 24 22:46:00 UTC 2014
#28857: Media Grid: Manage focus when toggling between the grid and an edit
attachment modal
----------------------------------+----------------------------------------
Reporter: davidakennedy | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.0
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev- | Focuses: accessibility, javascript
feedback |
----------------------------------+----------------------------------------
Changes (by adamsilverstein):
* status: closed => reopened
* resolution: fixed =>
Comment:
I noticed an issue where if you open the image detail modal, navigate
around with the arrows, then close the modal, the focus is not set.
[attachment: 28857.3.diff] fixes that - it skips storing the target li at
all; instead, when closing the modal it finds the correct li to focus on
based on model data.
we still need to address focus when deleting an image from the modal
(which right now seems to not close the modal?)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28857#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list