[wp-trac] [WordPress Trac] #58430: Title or aria-label missing in wp_list_categories

WordPress Trac noreply at wordpress.org
Tue Jun 20 16:18:06 UTC 2023


#58430: Title or aria-label missing in wp_list_categories
-------------------------------+------------------------------
 Reporter:  rtomo              |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:  6.2.2
 Severity:  minor              |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  accessibility
-------------------------------+------------------------------

Comment (by rtomo):

 Replying to [comment:5 joedolson]:
 > Can you provide details of the accessibility checking errors you're
 getting? It may be specific to a particular usage case.

 Hi,

 When i'm use the wp_list_categories(), in the ul/li list items content is:

 {{{
 <li class="cat-item cat-item-ID"><a href="catslug">catname</a>
 </li>
 }}}

 And the better is:

 {{{
 <li class="cat-item cat-item-ID"><a arial-label="catname"
 href="catslug">catname</a>
 </li>
 }}}

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


More information about the wp-trac mailing list