I18n: Improve the use of `dashicons-external` icon for external links.

This changeset modifies how the `dashicons-external` icon is used in external links by editing its styles and adding a space between the text and the icon 
for better accessibility.

Props SergeyBiryukov, afercia, isabel_brison, mukesh27, sabernhardt, oglekler, audrasjb.
Fixes #47303.



Built from https://develop.svn.wordpress.org/trunk@56211


git-svn-id: http://core.svn.wordpress.org/trunk@55723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-07-11 12:59:25 +00:00
parent 3eec0065e3
commit 897d9c221e
8 changed files with 28 additions and 18 deletions

View File

@ -139,6 +139,11 @@
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
}
.screen-reader-text + .dashicons-external {
margin-top: -1px;
margin-right: 2px;
}
.screen-reader-shortcut {
position: absolute;
top: -1000em;

File diff suppressed because one or more lines are too long

View File

@ -138,6 +138,11 @@
height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
}
.screen-reader-text + .dashicons-external {
margin-top: -1px;
margin-left: 2px;
}
.screen-reader-shortcut {
position: absolute;
top: -1000em;

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-beta3-56210';
$wp_version = '6.3-beta3-56211';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.