[wp-trac] [WordPress Trac] #40733: The new links in the News dashboard widget need to inform users they open in a new window

WordPress Trac noreply at wordpress.org
Thu May 11 17:10:51 UTC 2017


#40733: The new links in the News dashboard widget need to inform users they open
in a new window
---------------------------------------+--------------------------------
 Reporter:  afercia                    |       Owner:  afercia
     Type:  defect (bug)               |      Status:  assigned
 Priority:  normal                     |   Milestone:  4.8
Component:  Administration             |     Version:  trunk
 Severity:  normal                     |  Resolution:
 Keywords:  has-screenshots has-patch  |     Focuses:  ui, accessibility
---------------------------------------+--------------------------------
Changes (by afercia):

 * keywords:  has-screenshots => has-screenshots has-patch
 * owner:   => afercia
 * status:  new => assigned


Comment:

 [attachment:40733.diff] does the following:

 - standardizes similar messages always using `(opens in a new window)`
 - adds translators comments
 - hides the dashicons with `aria-hidden="true"`, see #40428

 Safari 10 & VoiceOver need a little trick to work properly. Remove the CSS
 and test with Safari 10 & VoiceOver, you will notice the hidden text gets
 read out before the link.

 Worth noting this could also use an `aria-label` on the links, for
 example:
 `aria-label="Meetups (opens in a new window)"`
 but I thought reusing the same string will make life easier for
 translators.

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


More information about the wp-trac mailing list