Skip to content

Commit b177029

Browse files
committed
Added attribute aria-describedby to match install.php
1 parent ea0c170 commit b177029

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/wp-admin/options-reading.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@
214214
<?php if ( has_action( 'blog_privacy_selector' ) ) : ?>
215215
<input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( '1', get_option( 'blog_public' ) ); ?> />
216216
<label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br />
217-
<input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked( '0', get_option( 'blog_public' ) ); ?> />
217+
<input id="blog-norobots" type="radio" name="blog_public" aria-describedby="public-desc" value="0" <?php checked( '0', get_option( 'blog_public' ) ); ?> />
218218
<label for="blog-norobots"><?php _e( 'Discourage search engines from indexing this site' ); ?></label>
219-
<p class="description"><?php _e( 'Note: Neither of these options blocks access to your site &mdash; it is up to search engines to honor your request.' ); ?></p>
219+
<p id="public-desc" class="description"><?php _e( 'Note: Neither of these options blocks access to your site &mdash; it is up to search engines to honor your request.' ); ?></p>
220220
<?php
221221
/**
222222
* Enables the legacy 'Site visibility' privacy options.

0 commit comments

Comments
 (0)