[wp-trac] [WordPress Trac] #60091: Improve language dropdown usability

WordPress Trac noreply at wordpress.org
Thu Mar 14 21:10:39 UTC 2024


#60091: Improve language dropdown usability
--------------------------+------------------------------------------------
 Reporter:                |       Owner:  (none)
  alanjacobmathew         |
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, accessibility, administration
  2nd-opinion             |
--------------------------+------------------------------------------------

Comment (by sabernhardt):

 The `option` elements have a `lang` attribute, so they should not have the
 English name and the native name together.
 - #60522 asked to show the language code (`value`) within the option, so I
 tried that with the Available languages grouping (used on Profile and
 Settings screens, not login or installation-related pages). Screen readers
 would need to speak each letter instead of reading words such as 'is' for
 Icelandic or 'it' for Italian, so I added the zero-width non-joiner
 character between them. However, the 'formal', 'informal' and 'ao90'
 locales could be better without spelling out every character. This may not
 be the best choice, but it would achieve a distinction between similar
 language options in the Available set, ensure that screen readers say
 **something** for each option (though the code is not easy to recognize if
 the native name is not read), and allow typing latin characters to jump to
 the options that start with that letter.
 - Creating a list of English names—without native names—if the user's
 language is one of the English locales might help some people, but it
 likely would not be better for everyone.
 - The Gutenberg ComboBoxControl probably could include separate elements
 for each language.

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


More information about the wp-trac mailing list