[wp-trac] [WordPress Trac] #23560: Keyboard Accessibility of Add Media Panel

WordPress Trac noreply at wordpress.org
Wed Apr 3 04:02:21 UTC 2013


#23560: Keyboard Accessibility of Add Media Panel
----------------------------+------------------------------
 Reporter:  grahamarmfield  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Accessibility   |     Version:  3.5.1
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------------------

Comment (by lessbloat):

 Replying to [comment:5 grahamarmfield]:
 > '''Example code to try'''
 > Please note that this has changed from the original example I gave on
 the make.wordpress.org/accessibility blog
 (http://make.wordpress.org/accessibility/2013/03/28/add-media-panel-and-
 wordpress-3-6-a-simple-solution/) to avoid using a <label> element, and to
 attach new attributes to <li> element instead of image.
 >
 > Unselected:
 > {{{
 > <li class="attachment save-ready" tabindex="0" role="checkbox" aria-
 checked="false" aria-label="Media file title">
 > }}}
 >
 > Selected:
 > {{{
 > <li class="attachment save-ready details selected" tabindex="0"
 role="checkbox" aria-checked="true" aria-label="Media file title">
 > }}}
 >
 > I have tested this markup in isolation with NVDA and it behaves as I'd
 expect.

 23560.1.diff​ should do it I think.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23560#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list