[wp-trac] [WordPress Trac] #63238: Remove `target="_blank"` from Browser Uploader Link

WordPress Trac noreply at wordpress.org
Fri Sep 5 05:49:31 UTC 2025


#63238: Remove `target="_blank"` from Browser Uploader Link
-------------------------------------+-------------------------------------
 Reporter:  dilipbheda               |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  6.9
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-           |     Focuses:  accessibility,
  screenshots target-blank           |  administration
-------------------------------------+-------------------------------------

Comment (by joedolson):

 The reason for not using a real `button` is the possibility that users are
 accustomed to being able to open this in a new window.

 The only question is whether anybody actually *does* that. There isn't
 really any sound reason for going to a new window to open the other
 uploader.

 I'm somewhat inclined to simply change this to a `button`, and see whether
 anybody complains about the change. If so, it would be easy enough to
 switch to using `role="button"`, instead.

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


More information about the wp-trac mailing list