mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Accessibility: Administration: Remove <strong> tags from labels on plugin/theme editor screens.
If every single label is emphasized with a `<strong>` tag, none of them is really emphasized anymore. This removes the tags in favor of CSS styling, for consistency with the other labels on the screen. Props chemiker, audrasjb, mukesh27, paaljoachim, estelaris, ibdz, SergeyBiryukov. Fixes #52232. git-svn-id: https://develop.svn.wordpress.org/trunk@49958 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
98b6d33564
commit
72ad4e1bcf
@ -3290,11 +3290,15 @@ img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#theme-plugin-editor-selector,
|
||||
#theme-plugin-editor-label,
|
||||
#documentation label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#theme-plugin-editor-label {
|
||||
display: inline-block;
|
||||
margin-bottom: 1em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* rtl:ignore */
|
||||
@ -3390,7 +3394,6 @@ img {
|
||||
#documentation label {
|
||||
line-height: 1.8;
|
||||
vertical-align: baseline;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.fileedit-sub {
|
||||
|
||||
@ -216,7 +216,7 @@ $content = esc_textarea( $content );
|
||||
</div>
|
||||
<div class="alignright">
|
||||
<form action="plugin-editor.php" method="get">
|
||||
<strong><label for="plugin"><?php _e( 'Select plugin to edit:' ); ?> </label></strong>
|
||||
<label for="plugin" id="theme-plugin-editor-selector"><?php _e( 'Select plugin to edit:' ); ?> </label>
|
||||
<select name="plugin" id="plugin">
|
||||
<?php
|
||||
foreach ( $plugins as $plugin_key => $a_plugin ) {
|
||||
|
||||
@ -222,7 +222,7 @@ if ( $file_description !== $file_show ) {
|
||||
</div>
|
||||
<div class="alignright">
|
||||
<form action="theme-editor.php" method="get">
|
||||
<strong><label for="theme"><?php _e( 'Select theme to edit:' ); ?> </label></strong>
|
||||
<label for="theme" id="theme-plugin-editor-selector"><?php _e( 'Select theme to edit:' ); ?> </label>
|
||||
<select name="theme" id="theme">
|
||||
<?php
|
||||
foreach ( wp_get_themes( array( 'errors' => null ) ) as $a_stylesheet => $a_theme ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user