mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 07:07:04 +00:00
Accessibility: Improve settings tables and forms after [45403].
- adds `role="presentation"` to the edit comment table - removes a few pointless `<fieldset>` elements - adds a few missing `<label>` elements - adds the CSS class `class="td-full"` to table rows spanning to multiple cells - adds explicit `scope="row"` attribute to the table headers in `options-permalink.php`: this table is better communicated as data table - uses consistent label association in the "Privacy Settings" page - in the installation page "Set up your database connection": associates descriptions to their inout fields using `aria-describedby` - improves the link to gravatar.com in the `user-edit.php` page See #46899. Fixes #47390. git-svn-id: https://develop.svn.wordpress.org/trunk@45416 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -347,18 +347,18 @@ function network_step1( $errors = false ) {
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<th scope='row'><?php esc_html_e( 'Network Title' ); ?></th>
|
||||
<th scope='row'><label for="sitename"><?php esc_html_e( 'Network Title' ); ?></label></th>
|
||||
<td>
|
||||
<input name='sitename' type='text' size='45' value='<?php echo esc_attr( $site_name ); ?>' />
|
||||
<input name='sitename' id='sitename' type='text' size='45' value='<?php echo esc_attr( $site_name ); ?>' />
|
||||
<p class="description">
|
||||
<?php _e( 'What would you like to call your network?' ); ?>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope='row'><?php esc_html_e( 'Network Admin Email' ); ?></th>
|
||||
<th scope='row'><label for="email"><?php esc_html_e( 'Network Admin Email' ); ?></label></th>
|
||||
<td>
|
||||
<input name='email' type='text' size='45' value='<?php echo esc_attr( $admin_email ); ?>' />
|
||||
<input name='email' id='email' type='text' size='45' value='<?php echo esc_attr( $admin_email ); ?>' />
|
||||
<p class="description">
|
||||
<?php _e( 'Your email address.' ); ?>
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user