[wp-trac] [WordPress Trac] #40578: Media Library: Clicking the edges of the media does not select, it only focuses the li.

WordPress Trac noreply at wordpress.org
Thu Apr 27 18:41:55 UTC 2017


#40578: Media Library: Clicking the edges of the media does not select, it only
focuses the li.
----------------------------------------+--------------------------------
 Reporter:  circlecube                  |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Media                       |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:  ui, accessibility
----------------------------------------+--------------------------------

Comment (by circlecube):

 Replying to [comment:2 adamsilverstein]:
 > Experimenting in my local environment, the issue seems to be the image
 padding. switching that to a margin fixed the issue. A CSS solution should
 be possible here. Marking this as a good first bug.

 Yes, it does seem contained to just a CSS fix. When I tried this fix, by
 simply switching the padding to margin, the focus "glow" on the media item
 is lost. I haven't had time to look deeper, but I assume there's a simple
 enough fix to get it all to work properly. I'll work on it in the next few
 days and try to get a patch together.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40578#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list