[wp-trac] [WordPress Trac] #33513: Add support for the 'lang' attribute in admin bar menu items.

WordPress Trac noreply at wordpress.org
Tue Sep 1 19:15:33 UTC 2015


#33513: Add support for the 'lang' attribute in admin bar menu items.
-------------------------+------------------------------
 Reporter:  Chouby       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Toolbar      |     Version:  3.3
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  accessibility
-------------------------+------------------------------
Changes (by morganestes):

 * keywords:  has-patch => needs-patch


Comment:

 Replying to [comment:9 afercia]:
 > Discussed a bit this ticket in the last a11y team Slack meeting, we
 agreed white listing `lang` and `dir` attributes doesn't harm and it's an
 improvement. Maybe some years ago switching language for just 1 or 2 words
 was discouraged because screen readers were very slow when doing the
 switch. Some screen readers didn't even support switching language. But
 maybe today screen readers are far better in that :)

 Thanks for the update, I appreciate the a11y team taking a look.

 The first patch was just for `lang`; @Chouby: can you update it to add
 `dir` to it?

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


More information about the wp-trac mailing list