[wp-trac] [WordPress Trac] #18650: Make archives and categories widgets dropdown ada compliant

WordPress Trac noreply at wordpress.org
Sun Mar 9 22:06:06 UTC 2014


#18650: Make archives and categories widgets dropdown ada compliant
--------------------------+-----------------------------
 Reporter:  jlevandowski  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Widgets       |     Version:  3.2.1
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:  accessibility
--------------------------+-----------------------------
Changes (by nacin):

 * milestone:  3.9 => Future Release


Comment:

 So basically:

  * The first instance of the category widget widget should use the current
 IDs.

  * Subsequent instances should use incremented IDs.

 The archives widget doesn't currently have an ID on the select so it
 doesn't require this juggling.

 I've attached [attachment:18650.diff] to do this. The problem is, I think
 the labels wrapping the title have the potential to break a theme's
 styling of the header. (Imagine `<h3><label>Title</label></h3>` with label
 styling overriding h3 styling. An alternative would probably be screen
 reader text, which we actually don't necessarily have the classes for on
 the frontend.

 As it is, these are not accessible due to the lack of a submit button,
 while at the very least the first options are "Select Month" and "Select
 Category", which provide a clue it's a JS jump menu. I'm not inclined to
 touch this without further consideration.

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


More information about the wp-trac mailing list