Community
Participate
Working Groups
All jsp files in webapp miss the 'lang' attribute to html tag, which may be a violation in accessibility check.
I think that the way to fix this would be to add a resource in WebappResources.properties to represent the locale of the translation being used and use that for the value of the lang attribute. That way the lang attribute will be consistent with the localized strings used in the page. It will require changing every jsp file that contains a <html> tag, 38 files in all. I think that this should be fixed as screen readers use the "lang" attribute. I will create a patch and have Vivian test it.
Created attachment 165608 [details] Patch
Chris, the comment in the WebappResources.properties file is useful: # The locale of this translation of the resource file, will be used as follows: <html lang = "en"> But, could you add another line to tell the translators to change that to the locale for their language?
I have added some extra lines of comment and committed the patch, Vivian, can you verify that this fixes the problem?
Patch looks good. I'll also let tester to verify it through screen reader tool(JAWS).
It is verified through JAWS.