Skip to content

Commit 593ae04

Browse files
patrickhlaukefstrrkfranqueiro
authored
Chore: Remove invalid closing </meta> and </link>, self-closing slashes, xml:lang and xmlns (#4386)
Removes all sorts of unnecessary XHTML cruft that we kept carrying around due to the old XSLT-based publication pipeline which is now obsolete --------- Co-authored-by: Francis Storr <[email protected]> Co-authored-by: Kenneth G. Franqueiro <[email protected]>
1 parent 74949dd commit 593ae04

File tree

666 files changed

+1489
-1489
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

666 files changed

+1489
-1489
lines changed

_includes/head.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% # common tags inserted into all non-index/about pages %}
2-
<meta name="viewport" content="width=device-width, initial-scale=1"/>
3-
<link rel="stylesheet" href="https://w3.org/WAI/assets/css/style.css" />
2+
<meta name="viewport" content="width=device-width, initial-scale=1">
3+
<link rel="stylesheet" href="https://w3.org/WAI/assets/css/style.css">
44
{% if isTechniques %}
55
{% include "techniques/head.html" %}
66
{% elsif isUnderstanding %}

_includes/techniques/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="stylesheet" href="../base.css" />
1+
<link rel="stylesheet" href="../base.css">

_includes/understanding/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="stylesheet" href="base.css" />
1+
<link rel="stylesheet" href="base.css">

_includes/waiscript.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<link rel="stylesheet" href="../a11y-light.css" />
1+
<link rel="stylesheet" href="../a11y-light.css">
22
<script src="../highlight.min.js"></script>
33
<script>
44
hljs.configure({
@@ -24,6 +24,6 @@
2424
})();
2525
</script>
2626
<noscript>
27-
<p><img src="//www.w3.org/analytics/piwik/piwik.php?idsite=328&amp;rec=1" style="border:0;" alt="" /></p>
27+
<p><img src="//www.w3.org/analytics/piwik/piwik.php?idsite=328&amp;rec=1" style="border:0;" alt=""></p>
2828
</noscript>
2929
{% # End Matomo Code %}

errata/21.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
<html lang="en">
55
<head>
66
<title>Web Content Accessibility Guidelines (WCAG) 2.1 Errata</title>
7-
<link rel="stylesheet" type="text/css" href="https://www.w3.org/StyleSheets/TR/base.css" />
8-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7+
<link rel="stylesheet" type="text/css" href="https://www.w3.org/StyleSheets/TR/base.css">
8+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
99
</head>
1010
<body>
1111
<div class="head">
12-
<p><a href="https://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72" /></a></p>
12+
<p><a href="https://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72"></a></p>
1313
<h1 id="title">Web Content Accessibility Guidelines (WCAG) 2.1 Errata</h1>
1414
<p>Last modified: $Date: 2024/02/01 14:32:47 $</p>
1515
<p class="copyright">Copyright © 2024 <a href="https://www.w3.org/">World Wide Web Consortium</a>. <abbr title="World Wide Web Consortium">W3C</abbr><sup>®</sup> <a href="https://www.w3.org/policies/#disclaimers">liability</a>, <a href="https://www.w3.org/policies/#trademarks">trademark</a> and <a rel="license" href="https://www.w3.org/copyright/document-license/" title="W3C Document License">permissive license</a> rules apply.</p>
1616
</div>
17-
<hr/>
17+
<hr>
1818
<section id="abstract">
1919
<h2>Abstract</h2>
2020
<p>This document records all known errors in the <a href="https://www.w3.org/TR/WCAG21/">Web Content Accessibility Guidelines (WCAG) 2.1</a> specification.</p>
@@ -36,7 +36,7 @@ <h2>Table of Contents</h2>
3636
{%- # Leave this empty - populated during the build process -%}
3737
</ol>
3838
</section>
39-
<hr/>
39+
<hr>
4040
<main>
4141
{%- assign trDate = "current" -%}
4242
{%- assign trUrl = "https://www.w3.org/TR/WCAG21/" -%}

errata/22.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
<html lang="en">
55
<head>
66
<title>Web Content Accessibility Guidelines (WCAG) 2.2 Errata</title>
7-
<link rel="stylesheet" type="text/css" href="https://www.w3.org/StyleSheets/TR/base.css" />
8-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7+
<link rel="stylesheet" type="text/css" href="https://www.w3.org/StyleSheets/TR/base.css">
8+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
99
</head>
1010
<body>
1111
<div class="head">
12-
<p><a href="https://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72" /></a></p>
12+
<p><a href="https://www.w3.org/"><img src="https://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72"></a></p>
1313
<h1 id="title">Web Content Accessibility Guidelines (WCAG) 2.2 Errata</h1>
1414
<p>Last modified: $Date: 2023/07/21 18:31:26 $</p>
1515
<p class="copyright"><a href="https://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2018 <a href="https://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="https://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="https://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="https://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>). <abbr title="World Wide Web Consortium">W3C</abbr><a href="https://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="https://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="https://www.w3.org/Consortium/Legal/copyright-documents" rel="license">document use</a> rules apply. </p>
1616
</div>
17-
<hr />
17+
<hr>
1818
<section id="abstract">
1919
<h2>Abstract</h2>
2020
<p>This document records all known errors in the <a href="https://www.w3.org/TR/WCAG22/">Web Content Accessibility Guidelines (WCAG) 2.2</a> specification.</p>
@@ -36,7 +36,7 @@ <h2>Table of Contents</h2>
3636
{%- # Leave this empty - populated during the build process -%}
3737
</ol>
3838
</section>
39-
<hr />
39+
<hr>
4040
<main>
4141
{%- assign trDate = "current" -%}
4242
{%- assign trUrl = "https://www.w3.org/TR/WCAG22/" -%}

guidelines/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<!DOCTYPE html>
2-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
2+
<html lang="en">
33
<head>
4-
<meta charset="UTF-8"/>
4+
<meta charset="UTF-8">
55

66
<title>Web Content Accessibility Guidelines (WCAG) 2.2</title>
77
<script src="https://www.w3.org/Tools/respec/respec-w3c" class="remove"></script>
88
<script src="../script/wcag.js" class="remove"></script>
99
<script src="respec-config.js" class="remove"></script>
1010
<script src="../biblio.js" class="remove"></script>
11-
<link rel="stylesheet" type="text/css" href="../css/sources.css" class="remove"/>
12-
<link rel="stylesheet" type="text/css" href="guidelines.css"/>
11+
<link rel="stylesheet" type="text/css" href="../css/sources.css" class="remove">
12+
<link rel="stylesheet" type="text/css" href="guidelines.css">
1313
</head>
1414
<body>
1515
<section id="abstract">

guidelines/relative-luminance.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5-
<link type="text/css" rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/base.css"/>
4+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5+
<link type="text/css" rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/base.css">
66
<title>MathML version of the relative luminance definition</title>
77
</head>
88
<body>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!DOCTYPE html>
88
<html lang="en">
99
<head>
10-
<meta charset="utf-8"/>
10+
<meta charset="utf-8">
1111
<title>Web Content Accessibility Guidelines {{ versionDecimal }}</title>
1212
</head>
1313
<body>

techniques/about.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!DOCTYPE html>
2-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
2+
<html lang="en">
33

44
<head>
5-
<meta charset="UTF-8"/>
6-
<meta name="viewport" content="width=device-width, initial-scale=1"/>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<title>About WCAG Techniques | WAI | W3C</title>
8-
<link rel="stylesheet" href="https://w3.org/WAI/assets/css/style.css"/>
9-
<link rel="stylesheet" href="base.css"/>
8+
<link rel="stylesheet" href="https://w3.org/WAI/assets/css/style.css">
9+
<link rel="stylesheet" href="base.css">
1010
</head>
1111

1212
<body dir="ltr">
@@ -92,4 +92,4 @@ <h2>Change Log</h2>
9292
</script>
9393
<script src="https://www.w3.org/WAI/assets/scripts/main.js"></script></body>
9494

95-
</html>
95+
</html>

0 commit comments

Comments
 (0)