[wp-trac] [WordPress Trac] #44007: Making a child theme link should open in new tab

WordPress Trac noreply at wordpress.org
Wed May 23 14:42:06 UTC 2018


#44007: Making a child theme link should open in new tab
------------------------------+----------------------------
 Reporter:  subrataemfluence  |       Owner:  (none)
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Themes            |     Version:
 Severity:  normal            |  Resolution:  invalid
 Keywords:  has-patch close   |     Focuses:  accessibility
------------------------------+----------------------------
Changes (by afercia):

 * keywords:  has-patch reporter-feedback close => has-patch close
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 > if I can get back to the previous page easily

 Your browser "Back" button serves that purpose :) The recommended approach
 for accessibility is to not take control of the users browsers and let
 users decide. Browsers have implemented tabbed navigation since 15 years
 or so. you can Ctrl (or Cmd) click a link etc. to open a new tab.

 >  I have no option like above and have to manually type in the address
 again to get back to the page.
 I'm not sure I understand what prevents you from using your browser's Back
 button. That's pretty standard.

 I'd also add that opening links in a new tab does actually breaks the
 browser's history, as clicking "Back" won't do anything.

 Again, the accessibility team recommendation is to avoid to use
 target=_blank unless there's really a very good reason to use it, and we'd
 say this is not the case. Please see also
 https://make.wordpress.org/accessibility/handbook/best-practices/content
 /link-destinations/#the-link-opens-in-a-window-or-tab

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


More information about the wp-trac mailing list