[wp-trac] [WordPress Trac] #16206: Comment text not marked as required

WordPress Trac noreply at wordpress.org
Fri Sep 3 10:53:44 UTC 2021


#16206: Comment text not marked as required
-------------------------------------------------+-------------------------
 Reporter:  infected                             |       Owner:
                                                 |  sabernhardt
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.9
Component:  Comments                             |     Version:  3.0.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots required-  |     Focuses:  ui,
  fields needs-testing                           |  accessibility
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  has-patch 2nd-opinion has-screenshots required-fields needs-
     refresh => has-patch has-screenshots required-fields needs-testing
 * milestone:  Future Release => 5.9


Comment:

 [attachment:"16206.6.patch"] hides the required field message from screen
 readers with `aria-hidden`.

 The patch also uses a `$required_glyph` variable for easier customization
 in #23870. This results in an `aria-hidden` span inside the hidden field
 message span, but the redundancy is probably better than trying to make a
 special case.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/16206#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list