Ticket #15080: a11ydc.patch
File a11ydc.patch, 1.5 KB (added by , 14 years ago) |
---|
-
wp-includes/comment-template.php
1521 1521 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . 1522 1522 '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>', 1523 1523 'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . 1524 '<input id="email" name="email" type=" text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>',1524 '<input id="email" name="email" type="email" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>', 1525 1525 'url' => '<p class="comment-form-url"><label for="url">' . __( 'Website' ) . '</label>' . 1526 '<input id="url" name="url" type=" text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>',1526 '<input id="url" name="url" type="url" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>', 1527 1527 ); 1528 1528 1529 1529 $required_text = sprintf( ' ' . __('Required fields are marked %s'), '<span class="required">*</span>' );