[wp-trac] [WordPress Trac] #50202: Use <strong> tag instead of <b> tag in `Walker_Comment::html5_comment`

WordPress Trac noreply at wordpress.org
Fri May 22 14:31:42 UTC 2020


#50202: Use <strong> tag instead of <b> tag in `Walker_Comment::html5_comment`
--------------------------+-----------------------------
 Reporter:  itowhid06     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  accessibility
--------------------------+-----------------------------
Changes (by afercia):

 * keywords:  has-patch close 2nd-opinion => needs-patch
 * version:  trunk =>
 * milestone:  Awaiting Review => Future Release


Comment:

 This ticket was discussed during today's accessibility bug-scrub.

 While it's true the usage of a `<b>` element in this case it not
 incorrect, it is also true that right now the commenter username has no
 specific semantic. For example, screen readers would read it as normal
 text. It would be nice to _add_ some semantic, not sure a `<strong>`
 element would be appropriate though. Also, there are backwards
 compatibility concerns. Moving to future release for now, pending some
 research and investigation.

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


More information about the wp-trac mailing list