From 26d794fac95c9bfbdffe24cd9028d7e338717159 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Sun, 29 Mar 2015 16:14:44 -0400 Subject: Issue #1904528 by Heine, GoddamnNoise: Language switcher (User interface text) Block generates invalid XHTML+RDFa 1.0 --- includes/language.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/language.inc b/includes/language.inc index 803a63041..24267d8a1 100644 --- a/includes/language.inc +++ b/includes/language.inc @@ -297,7 +297,7 @@ function language_negotiation_get_switch_links($type, $path) { // Add support for WCAG 2.0's Language of Parts to add language identifiers. // http://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-other-lang-id.html foreach ($result as $langcode => $link) { - $result[$langcode]['attributes']['lang'] = $langcode; + $result[$langcode]['attributes']['xml:lang'] = $langcode; } if (!empty($result)) { -- cgit v1.2.3