Accessibility: Add "(opens in a new window)" screen reader text to the "News-Nearby Events" dashboard widget footer links.

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

Fixes #40733.


git-svn-id: https://develop.svn.wordpress.org/trunk@40643 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2017-05-11 22:46:59 +00:00
parent e59c9d3567
commit bf4b384fd4
4 changed files with 37 additions and 12 deletions

View File

@@ -440,6 +440,12 @@
color: #ddd;
}
/* Safari 10 + VoiceOver specific: without this, the hidden text gets read out before the link. */
.community-events-footer .screen-reader-text {
height: inherit;
white-space: nowrap;
}
/* Dashboard WordPress news */
#dashboard_primary .inside {