[wp-trac] [WordPress Trac] #48683: Change ID of recent comment widget list to CLASS instead of ID

WordPress Trac noreply at wordpress.org
Sun Nov 17 13:39:08 UTC 2019


#48683: Change ID of recent comment widget list to CLASS instead of ID
---------------------------+-----------------------------
 Reporter:  arionarian     |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Widgets        |    Version:  5.3
 Severity:  normal         |   Keywords:  needs-patch
  Focuses:  accessibility  |
---------------------------+-----------------------------
 The Recent Comment Widget's UL tag has recentcomment ID. If we have more
 than one of this widget this will cause multiple ID which is not
 Accessibility Best Practice.

 We can change it to class instead of ID or by adding unique id to the end
 of id e.g recentcomment-1, recentcomment-2 etc. But the easiest way is by
 changing it to class.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48683>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list