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

WordPress Trac noreply at wordpress.org
Mon Aug 18 07:30:57 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 rollybueno):

 Honestly, I think adding `role="button"` still creates semantic mismatch
 and another accessibility issue. Since this is toggling the uploader in
 same page, why not don't just using real `<button>` instead?

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


More information about the wp-trac mailing list