Make WordPress Core

Ticket #21458: 21458.3.patch

File 21458.3.patch, 1.6 KB (added by SergeyBiryukov, 13 years ago)
  • wp-admin/edit-form-advanced.php

     
    283283<div id="titlediv">
    284284<div id="titlewrap">
    285285        <label class="hide-if-no-js" style="visibility:hidden" id="title-prompt-text" for="title"><?php echo apply_filters( 'enter_title_here', __( 'Enter title here' ), $post ); ?></label>
    286         <input type="text" name="post_title" size="30" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" />
     286        <input type="text" name="post_title" size="30" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" aria-describedby="title-prompt-text" autocomplete="off" />
    287287</div>
    288288<div class="inside">
    289289<?php
  • wp-includes/class-wp-editor.php

     
    680680        <div id="wp-fullscreen-wrap" style="width:<?php echo $dfw_width; ?>px;">
    681681                <?php if ( post_type_supports($post->post_type, 'title') ) { ?>
    682682                <label id="wp-fullscreen-title-prompt-text" for="wp-fullscreen-title"><?php echo apply_filters( 'enter_title_here', __( 'Enter title here' ), $post ); ?></label>
    683                 <input type="text" id="wp-fullscreen-title" value="" autocomplete="off" />
     683                <input type="text" id="wp-fullscreen-title" aria-describedby="wp-fullscreen-title-prompt-text" value="" autocomplete="off" />
    684684                <?php } ?>
    685685
    686686                <div id="wp-fullscreen-container">