Modify

Ticket #1261 (new defect)

Opened 12 months ago

Last modified 12 months ago

Add the HTML lang attribute to the html or body tags

Reported by: pavlos256@… Owned by: dark
Priority: trivial Milestone:
Component: Frontend Version: 2.0 beta
Keywords: Cc:

Description

This is a request to add the active language code to the generated HTML tags. For example:

<html lang="en">
or
<body lang="el">

Some transformations, like the CSS text-transform: uppercase used for .ui_field_label, do not work right without it.

See:  http://jsfiddle.net/s5uTu/ for example (the top div is wrong because the uppercase letters have accents, the bottom div is correct).
See also:  https://bugzilla.mozilla.org/show_bug.cgi?id=307039

Attachments

Change History

comment:1 Changed 12 months ago by pavlos256@…

To clarify, the lang attribute doesn't have to be applied to all elements that contain text, adding it to a parent (<html> or <body>) tag is enough.

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.