Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(accessibility): add static lang attribute to root html element (#18063)

Sk Sumit Ahmed3b0f86918f9a
diff --git a/index.html b/index.html
index 7a7714050a..2c69c466b1 100644
--- a/index.html
+++ b/index.html
@@ -1,4 +1,5 @@
-<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
+<!-- lang="en" is a pre-JS fallback; modules/translation/translation.js overrides it dynamically at runtime once initialized -->
+<html lang="en" itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
<head>
<!--#include virtual="head.html" -->
<meta charset="utf-8">
diff --git a/static/404.html b/static/404.html
index 2c80b2a520..8d19099837 100644
--- a/static/404.html
+++ b/static/404.html
@@ -1,4 +1,4 @@
-<html>
+<html lang="en">
<head>
<!--#include virtual="/base.html" -->
<link rel="stylesheet" href="css/all.css"/>
diff --git a/static/close.html b/static/close.html
index a22341d24a..afdc195046 100644
--- a/static/close.html
+++ b/static/close.html
@@ -1,4 +1,4 @@
-<html>
+<html lang="en">
<head>
<!--#include virtual="/base.html" -->
<link rel="stylesheet" href="css/all.css"/>
diff --git a/static/close2.html b/static/close2.html
index 39047247e8..07f2c6ff0a 100644
--- a/static/close2.html
+++ b/static/close2.html
@@ -1,4 +1,4 @@
-<html>
+<html lang="en">
<head>
<!--#include virtual="/base.html" -->
<link rel="stylesheet" href="css/all.css"/>
diff --git a/static/dialInInfo.html b/static/dialInInfo.html
index 092ecc39d7..46f2efc157 100644
--- a/static/dialInInfo.html
+++ b/static/dialInInfo.html
@@ -1,4 +1,4 @@
-<html xmlns="http://www.w3.org/1999/html">
+<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
diff --git a/static/msredirect.html b/static/msredirect.html
index 70947774cd..02b89566ab 100644
--- a/static/msredirect.html
+++ b/static/msredirect.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<body>
<script>
window.opener
diff --git a/static/oauth.html b/static/oauth.html
index 7f02b24c33..dce768d4b9 100644
--- a/static/oauth.html
+++ b/static/oauth.html
@@ -1,4 +1,4 @@
-<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
+<html lang="en" itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
diff --git a/static/offline.html b/static/offline.html
index 293949eb85..a1cc5523dd 100644
--- a/static/offline.html
+++ b/static/offline.html
@@ -1,4 +1,4 @@
-<html>
+<html lang="en">
<head>
<head>
diff --git a/static/prejoin.html b/static/prejoin.html
index de103ad0ce..f5277f13c9 100644
--- a/static/prejoin.html
+++ b/static/prejoin.html
@@ -1,4 +1,4 @@
-<html xmlns="http://www.w3.org/1999/html">
+<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
diff --git a/static/recommendedBrowsers.html b/static/recommendedBrowsers.html
index 1249bade74..dffe0f2b23 100644
--- a/static/recommendedBrowsers.html
+++ b/static/recommendedBrowsers.html
@@ -1,4 +1,4 @@
-<html>
+<html lang="en">
<head>
<!--#include virtual="/base.html" -->
<link rel="stylesheet" href="css/all.css"/>
diff --git a/static/secondScreen.html b/static/secondScreen.html
index 97c2cbe6b5..86f9340844 100644
--- a/static/secondScreen.html
+++ b/static/secondScreen.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html style="height: 100%;">
+<html lang="en" style="height: 100%;">
<head>
<meta charset="utf-8">
diff --git a/static/webrtcUnsupported.html b/static/webrtcUnsupported.html
index 2e54dd1a1c..1ea95e1d08 100644
--- a/static/webrtcUnsupported.html
+++ b/static/webrtcUnsupported.html
@@ -1,4 +1,4 @@
-<html>
+<html lang="en">
<head>
<!--#include virtual="/base.html" -->
<link rel="stylesheet" href="css/all.css"/>
diff --git a/static/whiteboard.html b/static/whiteboard.html
index 441adb9998..029a9036ab 100644
--- a/static/whiteboard.html
+++ b/static/whiteboard.html
@@ -1,4 +1,4 @@
-<html xmlns="http://www.w3.org/1999/html">
+<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="utf-8">