[wp-trac] [WordPress Trac] #33511: Bad value for attribute lang on element html

WordPress Trac noreply at wordpress.org
Tue Mar 1 17:50:16 UTC 2016


#33511: Bad value for attribute lang on element html
------------------------------+----------------------------
 Reporter:  Chouby            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.5
Component:  I18N              |     Version:  4.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  accessibility
------------------------------+----------------------------

Comment (by markoheijnen):

 As I have mentioned when this got implemented, the issue in my opinion is
 how it is implemented. It was also breaking BC in the admin where the body
 class is also get_locale which probably also should use the language
 value. I still believe in storing the locale and the writing style/dialect
 etc. separate. So the information can be better used then stripping
 values.

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


More information about the wp-trac mailing list