[wp-trac] [WordPress Trac] #47559: Subtitle tracks use English as default (hardcoded) in track element srclang and label attributes

WordPress Trac noreply at wordpress.org
Fri Sep 27 21:54:29 UTC 2019


#47559: Subtitle tracks use English as default (hardcoded) in track element srclang
and label attributes
-------------------------------------+-------------------------------------
 Reporter:  BjornW                   |       Owner:  audrasjb
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  5.3
Component:  Media                    |     Version:  5.2.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  ui, accessibility,
  patch dev-feedback                 |  javascript
-------------------------------------+-------------------------------------
Changes (by audrasjb):

 * keywords:  needs-patch has-screenshots => has-screenshots has-patch dev-
     feedback


Comment:

 Hi there,

 I finally figured out that we don't have what we need to propose a
 relevant language select, since we need to display all languages in that
 select and we currently only have a list of WordPress Polyglots Locales.
 It's not enough.

 The, I'd like to propose a really simple alternative. In `47559.diff`
 - remove readonly attribute from input text so `srclang` and `label`
 attributes could be manually edited
 - add a short description of the field to explain that those attributes
 values could be changed if needed.

 Any thoughts @afercia @SergeyBiryukov ?
 Thanks,
 Jb

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


More information about the wp-trac mailing list