Make WordPress Core

Changeset 63011


Ignore:
Timestamp:
08/04/2026 07:07:33 PM (2 months ago)
Author:
joedolson
Message:

Privacy: Fix checkbox alignment in request form.

The margins were set to 0 for all inputs in the request form, breaking the alignment for the checkbox.

Limit margin resetting to inputs of type text. Change labeling from implicit to explicit labelling, to better support voice control users.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/11841

Props soyebsalar01, suryakantupadhyay, deepakprajapati, audrasjb, joedolson, adrianduffell, mukesh27, wildworks, masteradhoc.
Fixes #65246.

Location:
trunk/src/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/forms.css

    r63010 r63011  
    15731573}
    15741574
    1575 .wp-privacy-request-form input {
     1575.wp-privacy-request-form input[type="text"] {
    15761576        margin: 0;
    15771577}
  • trunk/src/wp-admin/erase-personal-data.php

    r58021 r63011  
    127127                                                <?php _e( 'Confirmation email' ); ?>
    128128                                        </th>
    129                                         <td>
     129                                        <td>   
     130                                                <input type="checkbox" name="send_confirmation_email" id="send_confirmation_email" value="1" checked="checked" />
    130131                                                <label for="send_confirmation_email">
    131                                                         <input type="checkbox" name="send_confirmation_email" id="send_confirmation_email" value="1" checked="checked" />
    132132                                                        <?php _e( 'Send personal data erasure confirmation email.' ); ?>
    133133                                                </label>
  • trunk/src/wp-admin/export-personal-data.php

    r58021 r63011  
    128128                                        </th>
    129129                                        <td>
     130                                                <input type="checkbox" name="send_confirmation_email" id="send_confirmation_email" value="1" checked="checked" />
    130131                                                <label for="send_confirmation_email">
    131                                                         <input type="checkbox" name="send_confirmation_email" id="send_confirmation_email" value="1" checked="checked" />
    132132                                                        <?php _e( 'Send personal data export confirmation email.' ); ?>
    133133                                                </label>
Note: See TracChangeset for help on using the changeset viewer.