diff --git src/wp-includes/customize/class-wp-customize-date-time-control.php src/wp-includes/customize/class-wp-customize-date-time-control.php
index 9f36da0e68..95d52a5878 100644
|
|
class WP_Customize_Date_Time_Control extends WP_Customize_Control { |
119 | 119 | <span class="description customize-control-description">{{ data.description }}</span> |
120 | 120 | <div class="date-time-fields"> |
121 | 121 | <fieldset class="day-row"> |
122 | | <legend class="title-day"><?php esc_html_e( 'Date' ); ?></legend> |
| 122 | <legend class="title-day {{ ! data.includeTime ? 'screen-reader-text' : '' }}"><?php esc_html_e( 'Date' ); ?></legend> |
123 | 123 | <div class="day-fields clear"> |
124 | 124 | <label for="{{ idPrefix }}date-time-month" class="screen-reader-text"><?php esc_html_e( 'Month' ); ?></label> |
125 | 125 | <select id="{{ idPrefix }}date-time-month" class="date-input month" data-component="month"> |