[wp-trac] [WordPress Trac] #31739: Shiny Updates - support for details modal window

WordPress Trac noreply at wordpress.org
Mon Apr 6 23:07:29 UTC 2015

#31739: Shiny Updates - support for details modal window
 Reporter:  pavelevap        |       Owner:  jorbin
     Type:  defect (bug)     |      Status:  assigned
 Priority:  normal           |   Milestone:  4.2
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:

Comment (by afercia):

 @jorbin hi,
 if I'm not wrong, the "update message box" (the TR) is not focusable so
 targeting it with focus() won't have any effect. Focus will be lost.
 Firefox will keep focus "in place" but that's because Firefox tries to be
 clever :) with Chrome and IE focus will be lost.
 Also, when "click" is triggered, the "update" link will get removed and
 that HTML portion rebuilt, so there's nothing to focus there. That's why
 in #31608 we set focus on the checkbox, maybe not nice, but I really don't
 know what else we could do here.

Ticket URL: <https://core.trac.wordpress.org/ticket/31739#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list