[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 14:33:48 UTC 2014
#28857: Media Grid: Manage focus when toggling between the grid and an edit
attachment modal
------------------------------------+----------------------------
Reporter: davidakennedy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Media | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: accessibility
------------------------------------+----------------------------
Changes (by adamsilverstein):
* keywords: needs-patch => has-patch dev-feedback
Comment:
[attachment:28857.diff]
* When opening modal, store the event currentTarget on the model
* When closing modal, restore focus to closest li (currentTarget is
sometimes li, sometimes enclosed image)
* Need to address focus restoration after originally clicked item is
deleted from modal.
Here is a [https://cloudup.com/cLW2J9GTH71 screencast], all actions are
keyboard driven.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28857#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list