Skip to content

Commit

Permalink
Merge pull request #4 from audrasjb/fix/checkbox-accessibility
Browse files Browse the repository at this point in the history
Checkbox labels accessibility
  • Loading branch information
afragen committed Mar 28, 2019
2 parents 94f3163 + 751ac26 commit bf9b32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WPBT_Settings.php
Expand Up @@ -270,7 +270,7 @@ public static function checkbox_setting( $args ) {
?>
<style> .form-table th { display:none; } </style>
<label for="<?php esc_attr_e( $args['id'] ); ?>">
<input type="checkbox" name="wp-beta-tester[<?php esc_attr_e( $args['id'] ); ?>]" value="1" <?php checked( '1', $checked ); ?> >
<input type="checkbox" id="<?php esc_attr_e( $args['id'] ); ?>" name="wp-beta-tester[<?php esc_attr_e( $args['id'] ); ?>]" value="1" <?php checked( '1', $checked ); ?> >
<?php esc_attr_e( $args['title'] ); ?>
</label>
<?php
Expand Down

0 comments on commit bf9b32c

Please sign in to comment.