[wp-trac] [WordPress Trac] #31575: Press This: post options toggle accessibility improvements

WordPress Trac noreply at wordpress.org
Mon Mar 30 01:30:47 UTC 2015


#31575: Press This: post options toggle accessibility improvements
------------------------------+--------------------------------------------
 Reporter:  afercia           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Press This        |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch dev-    |     Focuses:  ui, accessibility, javascript
  feedback                    |
------------------------------+--------------------------------------------

Comment (by joedolson):

 Since the text clearly indicates the correct action, having aria-expanded
 on the button would act to provide a repeat of that information, and is
 probably not really necessary. But it's definitely not appropriate to have
 it on the object that actually gets expanded; the purpose of the attribute
 is to indicate whether an object is currently expanded or not, and should
 be read out at the time that the control to perform the expand/collapse
 action is focused, so that the user knows what the control will do.

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


More information about the wp-trac mailing list