WordPress.org

Make WordPress Core

Changeset 44712


Ignore:
Timestamp:
01/29/2019 07:09:22 PM (6 months ago)
Author:
afercia
Message:

Comments: Restore a removed fieldset legend after [44466].

In the Edit Comment page:

  • moves the "Author" h2 heading out of the form fieldset
  • removes an unnecessary <span> element
  • adds a visually hidden legend element to the fieldset
  • uses an existing string "Comment Author"

Fixes #43586.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-comment.php

    r44466 r44712  
    4141<div id="namediv" class="stuffbox">
    4242<div class="inside">
     43<h2 class="edit-comment-author"><?php _e( 'Author' ); ?></h2>
    4344<fieldset>
    44 <h2 class="edit-comment-author">
    45     <span><?php _e( 'Author' ); ?></span>
    46 </h2>
     45<legend class="screen-reader-text"><?php _e( 'Comment Author' ); ?></legend>
    4746<table class="form-table editcomment">
    4847<tbody>
Note: See TracChangeset for help on using the changeset viewer.