[wp-trac] [WordPress Trac] #40916: Add "noreferrer" to comments in dashboard

WordPress Trac noreply at wordpress.org
Wed Oct 27 17:11:12 UTC 2021


#40916: Add "noreferrer" to comments in dashboard
-------------------------+--------------------------------------------
 Reporter:  Cybr         |       Owner:  adam3128
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  5.9
Component:  Comments     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  accessibility, administration
-------------------------+--------------------------------------------

Comment (by joedolson):

 I'm strongly opposed to adding unnecessary links with `target=blank` to
 the admin. Using `noopener` would be fine to protect from  hijacking the
 window, but opening in a new window disrupts the user flow and prevents
 the user from making a choice.

 Since these links are potentially untrusted, I would consider it
 reasonable to add an interstitial before visiting those links - but
 automatically opening in a new window just makes thing less predictable.

 If `target=blank` is to be kept, it needs to be done in an accessible way:
 that means that this needs to be communicated to all users, not just users
 of screen readers. That means either visible by default or capable of
 becoming visible on focus/touch interactions. The screen reader text alone
 is not sufficient.

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


More information about the wp-trac mailing list