[wp-trac] [WordPress Trac] #12056: target="_blank" being stripped from Profile Bio and Category Description

WordPress Trac noreply at wordpress.org
Fri Dec 13 19:09:43 UTC 2024


#12056: target="_blank" being stripped from Profile Bio and Category Description
-------------------------------------------------+-------------------------
 Reporter:  lovewpmu                             |       Owner:  audrasjb
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.8
Component:  Formatting                           |     Version:  2.9.2
 Severity:  normal                               |  Resolution:
 Keywords:  gsoc kses has-patch needs-testing-   |     Focuses:
  info has-unit-tests has-screenshots            |  accessibility
-------------------------------------------------+-------------------------
Changes (by azaozz):

 * keywords:
     gsoc kses has-patch needs-testing-info has-unit-tests commit has-
     screenshots
     => gsoc kses has-patch needs-testing-info has-unit-tests has-
     screenshots
 * focuses:   => accessibility


Comment:

 If I'm not mistaken links with `target=_blank` are
 [https://theadminbar.com/accessibility-weekly/opening-links-in-new-tabs-
 or-not/ not particularly good] for accessibility reasons (can be
 disorienting for screen reader users). For that reason they should be used
 very sparingly, only when absolutely necessary. Should there be a warning
 about that for the new places they are allowed? Also, can't remember if
 `rel=noopener` is still needed for some browsers, think there was a ticket
 about that.

 Marking this for a quick review by the accessibility team.

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


More information about the wp-trac mailing list