Make WordPress Core

Ticket #53803: 53803.2.patch

File 53803.2.patch, 1.9 KB (added by ravipatel, 3 years ago)

@walbo now added a right ticket patch, chanegs class as well in file.

  • src/wp-admin/includes/class-custom-background.php

     
    418418        <div class="button-group">
    419419                                <?php foreach ( $group as $value => $input ) : ?>
    420420                <label>
    421                         <input class="screen-reader-text" name="background-position" type="radio" value="<?php echo esc_attr( $value ); ?>"<?php checked( $value, $background_position ); ?>>
     421                        <input class="ui-helper-hidden-accessible" name="background-position" type="radio" value="<?php echo esc_attr( $value ); ?>"<?php checked( $value, $background_position ); ?>>
    422422                        <span class="button display-options position"><span class="<?php echo esc_attr( $input['icon'] ); ?>" aria-hidden="true"></span></span>
    423423                        <span class="screen-reader-text"><?php echo $input['label']; ?></span>
    424424                </label>
  • src/wp-includes/customize/class-wp-customize-background-position-control.php

     
    9696                                        <div class="button-group">
    9797                                        <?php foreach ( $group as $value => $input ) : ?>
    9898                                                <label>
    99                                                         <input class="screen-reader-text" name="background-position" type="radio" value="<?php echo esc_attr( $value ); ?>">
     99                                                        <input class="ui-helper-hidden-accessible" name="background-position" type="radio" value="<?php echo esc_attr( $value ); ?>">
    100100                                                        <span class="button display-options position"><span class="<?php echo esc_attr( $input['icon'] ); ?>" aria-hidden="true"></span></span>
    101101                                                        <span class="screen-reader-text"><?php echo $input['label']; ?></span>
    102102                                                </label>