branch: elpa-admin
commit c90458f38a039090648465b7e09ca0d1a87da8e1
Author: Stefan Kangas <[email protected]>
Commit: Stefan Kangas <[email protected]>
Add lang attributes to the html tag
* html/index.html:
* admin/archive-contents.el (archive--html-header): Add lang attributes
to the html tag as recommended by W3C.
---
admin/archive-contents.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/admin/archive-contents.el b/admin/archive-contents.el
index 56f2b27..0ee3fc2 100644
--- a/admin/archive-contents.el
+++ b/admin/archive-contents.el
@@ -380,7 +380,7 @@ Rename DIR/ to PKG-VERS/, and return the descriptor."
(defun archive--html-header (title &optional header)
(format "<!DOCTYPE HTML PUBLIC>
-<html>
+<html lang=\"en\" xml:lang=\"en\">
<head>
<title>%s</title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">