[wp-trac] [WordPress Trac] #4969: Lists within lists

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 13 14:18:23 GMT 2007


#4969: Lists within lists
-------------------------+--------------------------------------------------
 Reporter:  pishmishy    |       Owner:  anonymous    
     Type:  enhancement  |      Status:  new          
 Priority:  normal       |   Milestone:  2.4          
Component:  General      |     Version:  2.3          
 Severity:  trivial      |    Keywords:  accessibility
-------------------------+--------------------------------------------------
 The sidebar template typically uses lists of lists to prettily display
 lists of pages, categories and bookmarks. Lists of pages, categories and
 bookmarks are forced to be items of lists themselves as the functions
 wp_list_pages(),wp_list_categories() and wp_list_bookmarks() wrap the
 output of functions in <li>..</li> tags by default.

 Lists are intended to indicate something about the structure of the
 document where as these forced <li> tags appear to be intended to provide
 pretty indentation. Nested-lists can also provide confusion for non-visual
 readers.

 wp_list_bookmarks() provides the ability to override this with
 category_before and category_after options. wp_list_pages() and
 wp_list_categories() should offer similar options. Ideally the accessible
 approach would be the default for these options but I don't believe this
 is possible without breaking existing themes.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4969>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list