Make WordPress Core


Ignore:
Timestamp:
01/13/2021 02:06:30 PM (3 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugin-editor.php

    r49193 r49958  
    217217<div class="alignright">
    218218    <form action="plugin-editor.php" method="get">
    219         <strong><label for="plugin"><?php _e( 'Select plugin to edit:' ); ?> </label></strong>
     219        <label for="plugin" id="theme-plugin-editor-selector"><?php _e( 'Select plugin to edit:' ); ?> </label>
    220220        <select name="plugin" id="plugin">
    221221        <?php
Note: See TracChangeset for help on using the changeset viewer.