[wp-trac] [WordPress Trac] #29955: Section 508 issues found on WordPress 4.0 admin page.

WordPress Trac noreply at wordpress.org
Mon Jan 26 15:31:16 UTC 2015


#29955: Section 508 issues found on WordPress 4.0 admin page.
----------------------------+------------------------------
 Reporter:  johnnygo        |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  4.0
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  accessibility
----------------------------+------------------------------

Comment (by afercia):

 Tested a bit more issues 2. and 3.
 Turns out IE 8 and JAWS 15, '''when in "form mode"''', don't read out the
 implicit label because there's a `<span>` wrapping the label text. So with
 this HTML:

 {{{
 <label><input type="radio" name="test"> <span>implicit label<span></label>
 }}}

 the label text is just ignored. I guess it make sense, when there's an
 implicit label, IE 8 and JAWS 15 expect to find a text node and instead
 they find a `<span>`.
 Oddly, looks like this happens just for radio buttons. See attached test
 case.

 So, lesson learned: '''never use a span or other elements to wrap a radio
 button implicit label text'''.
 Patch coming.

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


More information about the wp-trac mailing list