[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 16:32:37 UTC 2017
#40733: The new links in the News dashboard widget need to inform users they open
in a new window
-------------------------------+-----------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: Administration | Version: trunk
Severity: normal | Keywords: has-screenshots
Focuses: ui, accessibility |
-------------------------------+-----------------------------
The revamped News dashboard widget (a.k.a "Nearby events" widget) just
merged in [40607], introduces three new link that use the attribute
`target="_blank"`
[[Image(https://cldup.com/wFhJDJifmv.png)]]
Regardless if links that open in a new window use an icon to give some
visual feedback (although the doubt here is about the meaning of the icon:
external? opens in a new window? both?) they always need some accessible
text to inform screen reader users they open in a new window.
This issue is a long standing one and already discussed in #23432.
Recently, we've started removing a few `target="_blank"` where it made
sense, and adding some hidden text, for example in [40422], following the
pattern used in [38829].
I'd like to propose to follow the same pattern here and add the same text,
with just a small change. The current string is: `(link opens in a new
window)` however the word `link` is redundant because screen readers
already announce `link` for an `a` element.
Note that the brackets around the text make screen readers do a little
pause, which is a good thing when a link gets announced, for example:
`link Meetups {brief pause} opens in a new window`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40733>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list