]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
HTML: Add language attribute
authorLeo-Andres Hofmann <hofmann@leo-andres.de>
Sun, 24 Apr 2022 10:43:16 +0000 (12:43 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Sun, 24 Apr 2022 14:21:49 +0000 (14:21 +0000)
This attribute is recommended by W3C, because it is used by
screen readers to provide the correct pronunciation.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
html/html/themes/ipfire/include/functions.pl

index f2b8e99257b505f7b5c25ec3bd1f09ef2141988f..f90cd5feaf83787d0297ce526cd9d24fb20f0722 100644 (file)
@@ -110,7 +110,7 @@ sub openpage {
 
 print <<END;
 <!DOCTYPE html>
-<html>
+<html lang="$language">
        <head>
        <title>$headline - $title</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>