[wp-trac] [WordPress Trac] #28858: New installation: Language Selector

WordPress Trac noreply at wordpress.org
Thu Aug 7 16:01:22 UTC 2014


#28858: New installation: Language Selector
-----------------------------+----------------------------
 Reporter:  joedolson        |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  4.0
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:  fixed
 Keywords:  dev-feedback     |     Focuses:  accessibility
-----------------------------+----------------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Replying to [ticket:28858 joedolson]:
 > 1) Button to move forward has no text. There needs to be some kind of
 text in the step button for screen reader users to know what's happening.
 Patch adds text 'Set'.
 Fixed in r29372.
 > 2) Focus is being manipulated so that radio buttons can only be
 navigated when fieldset is focused, but the fieldset can't receive focus
 from the keyboard. Patch adds `tabindex='-1'` so that the fieldset can
 receive focus.
 The focus is no longer being manipulated, also since r29372.
 > 3) Languages are written in native language, but have no lang attribute
 to inform screen reader how to pronounce the language. Patch adds
 `lang="$language['language']"` -- this will not be complete, because the
 WP language profiles do not match the ISO 639 language code list
 http://www.loc.gov/standards/iso639-2/php/code_list.php. Might be a good
 idea to set up a language reference so that these can be mapped
 appropriately.
 Fixed in r29260.
 > 4) For sighted keyboard users, navigating the language list does not
 trigger scrolling in the language container. This means that any user who
 can't use a mouse to navigate the list will not be able to select their
 language if it's outside the default visible options. Needs: trigger
 scrolling one keypress. And I'm not sure how to do that.
 Also fixed in r29372 as we're now using a `<select>`.

 The remaining issue is regarding the languages listed in my comment above
 which don't have ISO 639-1 codes. This is closely related to language
 variants (formal, informal, etc). See #15677.

 I'm going to close this as fixed. The ISO codes / language variant issue
 can be covered in #15677.

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


More information about the wp-trac mailing list