Closed vivienlacourba closed 10 years ago
No such logic can nor should be embedded in a language file. I dot not have access to whether the string is defined in the language file. A title and a placeholder are mandatory for all relevant inputs (text, url, email). Also, the title will be the content of the help tooltip (#256).
For example today on the login form we have
title="l_email.title"
as the stringl_email.title
was not set.Instead in the template file if the title and placeholder string is missing the corresponding attribute should not be added.
So in case of the login form if
l_email.title
is not specified the generated markup would be: