-
Notifications
You must be signed in to change notification settings - Fork 798
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: format HTML files with Prettier (#1508)
Prettier now supports HTML, so we'll run all of our HTML files through it to avoid style inconsistencies. ## Reviewer checks **Required fields, to be filled out by PR reviewer(s)** - [x] Follows the commit message policy, appropriate for next version - [x] Has documentation updated, a DU ticket, or requires no documentation change - [x] Includes new tests, or was unnecessary - [x] Code is reviewed for security by: @WilcoFiers
- Loading branch information
1 parent
8d85082
commit 376a6a1
Showing
213 changed files
with
6,550 additions
and
3,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,50 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Example Mocha Test</title> | ||
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" type="text/css" charset="utf-8" /> | ||
</head> | ||
<body> | ||
<!-- Required for browser reporter --> | ||
<div id="mocha"></div> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Example Mocha Test</title> | ||
<link | ||
rel="stylesheet" | ||
href="../node_modules/mocha/mocha.css" | ||
type="text/css" | ||
charset="utf-8" | ||
/> | ||
</head> | ||
<body> | ||
<!-- Required for browser reporter --> | ||
<div id="mocha"></div> | ||
|
||
<script src="../node_modules/mocha/mocha.js" type="text/javascript" charset="utf-8"></script> | ||
<script src="../node_modules/chai/chai.js" type="text/javascript" charset="utf-8"></script> | ||
<script src="../node_modules/axe-core/axe.min.js" type="text/javascript" charset="utf-8"></script> | ||
<script type="text/javascript" charset="utf-8"> | ||
mocha.setup('bdd'); | ||
var expect = chai.expect; | ||
</script> | ||
<script | ||
src="../node_modules/mocha/mocha.js" | ||
type="text/javascript" | ||
charset="utf-8" | ||
></script> | ||
<script | ||
src="../node_modules/chai/chai.js" | ||
type="text/javascript" | ||
charset="utf-8" | ||
></script> | ||
<script | ||
src="../node_modules/axe-core/axe.min.js" | ||
type="text/javascript" | ||
charset="utf-8" | ||
></script> | ||
<script type="text/javascript" charset="utf-8"> | ||
mocha.setup('bdd'); | ||
var expect = chai.expect; | ||
</script> | ||
|
||
<!-- Include axe --> | ||
<!-- Include axe --> | ||
|
||
<!-- Spec files --> | ||
<script src="a11y.js" type="text/javascript" charset="utf-8"></script> | ||
<div id="working"> | ||
<label for="labelfld">Label for this text field.</label> | ||
<input type="text" id="labelfld"> | ||
</div> | ||
<div id="broken"> | ||
<p>Label for this text field.</p> | ||
<input type="text" id="nolabelfld"> | ||
</div> | ||
</body> | ||
<!-- Spec files --> | ||
<script src="a11y.js" type="text/javascript" charset="utf-8"></script> | ||
<div id="working"> | ||
<label for="labelfld">Label for this text field.</label> | ||
<input type="text" id="labelfld" /> | ||
</div> | ||
<div id="broken"> | ||
<p>Label for this text field.</p> | ||
<input type="text" id="nolabelfld" /> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,29 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Basic Test Suite</title> | ||
<!-- Load local QUnit. --> | ||
<link rel="stylesheet" href="../node_modules/qunitjs/qunit/qunit.css" media="screen"> | ||
<script src="../node_modules/qunitjs/qunit/qunit.js"></script> | ||
<!-- Load local lib and tests. --> | ||
<script src="../node_modules/axe-core/axe.min.js"></script> | ||
<script src="a11y.js"></script> | ||
</head> | ||
<body> | ||
<div id="qunit"></div> | ||
<div id="qunit-fixture"> | ||
</div> | ||
<div id="working"> | ||
<label for="labelfld">Label for this text field.</label> | ||
<input type="text" id="labelfld"> | ||
</div> | ||
<div id="broken"> | ||
<p>Label for this text field.</p> | ||
<input type="text" id="nolabelfld"> | ||
</div> | ||
|
||
</body> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Basic Test Suite</title> | ||
<!-- Load local QUnit. --> | ||
<link | ||
rel="stylesheet" | ||
href="../node_modules/qunitjs/qunit/qunit.css" | ||
media="screen" | ||
/> | ||
<script src="../node_modules/qunitjs/qunit/qunit.js"></script> | ||
<!-- Load local lib and tests. --> | ||
<script src="../node_modules/axe-core/axe.min.js"></script> | ||
<script src="a11y.js"></script> | ||
</head> | ||
<body> | ||
<div id="qunit"></div> | ||
<div id="qunit-fixture"></div> | ||
<div id="working"> | ||
<label for="labelfld">Label for this text field.</label> | ||
<input type="text" id="labelfld" /> | ||
</div> | ||
<div id="broken"> | ||
<p>Label for this text field.</p> | ||
<input type="text" id="nolabelfld" /> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML+ARIA 1.0//EN" "http://www.w3.org/WAI/ARIA/schemata/html4-aria-1.dtd"> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML+ARIA 1.0//EN" "http://www.w3.org/WAI/ARIA/schemata/html4-aria-1.dtd"> | ||
<html lang="en"> | ||
<head> | ||
<title>aria-hidden on body Test</title> | ||
<head> | ||
<title>aria-hidden on body Test</title> | ||
|
||
<link rel="stylesheet" type="text/css" href="/node_modules/mocha/mocha.css" /> | ||
<script src="/node_modules/mocha/mocha.js"></script> | ||
<script src="/node_modules/chai/chai.js"></script> | ||
<script src="/axe.js"></script> | ||
<script> | ||
mocha.setup({ | ||
timeout: 10000, | ||
ui: 'bdd' | ||
}); | ||
var assert = chai.assert; | ||
</script> | ||
<script src="/test/integration/no-ui-reporter.js"></script> | ||
</head> | ||
<body aria-hidden="true"> | ||
<h2>Some title.</h2> | ||
<a href="http://www.deque.com">Deque</a> | ||
<div id="mocha"></div> | ||
<script src="fail.js"></script> | ||
<script src="/test/integration/adapter.js"></script> | ||
</body> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="/node_modules/mocha/mocha.css" | ||
/> | ||
<script src="/node_modules/mocha/mocha.js"></script> | ||
<script src="/node_modules/chai/chai.js"></script> | ||
<script src="/axe.js"></script> | ||
<script> | ||
mocha.setup({ | ||
timeout: 10000, | ||
ui: 'bdd' | ||
}); | ||
var assert = chai.assert; | ||
</script> | ||
<script src="/test/integration/no-ui-reporter.js"></script> | ||
</head> | ||
<body aria-hidden="true"> | ||
<h2>Some title.</h2> | ||
<a href="http://www.deque.com">Deque</a> | ||
<div id="mocha"></div> | ||
<script src="fail.js"></script> | ||
<script src="/test/integration/adapter.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML+ARIA 1.0//EN" "http://www.w3.org/WAI/ARIA/schemata/html4-aria-1.dtd"> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML+ARIA 1.0//EN" "http://www.w3.org/WAI/ARIA/schemata/html4-aria-1.dtd"> | ||
<html lang="en"> | ||
<head> | ||
<title>aria-hidden on body Test</title> | ||
<head> | ||
<title>aria-hidden on body Test</title> | ||
|
||
<link rel="stylesheet" type="text/css" href="/node_modules/mocha/mocha.css" /> | ||
<script src="/node_modules/mocha/mocha.js"></script> | ||
<script src="/node_modules/chai/chai.js"></script> | ||
<script src="/axe.js"></script> | ||
<script> | ||
mocha.setup({ | ||
timeout: 10000, | ||
ui: 'bdd' | ||
}); | ||
var assert = chai.assert; | ||
</script> | ||
<script src="/test/integration/no-ui-reporter.js"></script> | ||
</head> | ||
<body aria-hidden="false"> | ||
<h2>Some title.</h2> | ||
<a href="http://www.deque.com">Deque</a> | ||
<div id="mocha"></div> | ||
<script src="pass.js"></script> | ||
<script src="/test/integration/adapter.js"></script> | ||
</body> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="/node_modules/mocha/mocha.css" | ||
/> | ||
<script src="/node_modules/mocha/mocha.js"></script> | ||
<script src="/node_modules/chai/chai.js"></script> | ||
<script src="/axe.js"></script> | ||
<script> | ||
mocha.setup({ | ||
timeout: 10000, | ||
ui: 'bdd' | ||
}); | ||
var assert = chai.assert; | ||
</script> | ||
<script src="/test/integration/no-ui-reporter.js"></script> | ||
</head> | ||
<body aria-hidden="false"> | ||
<h2>Some title.</h2> | ||
<a href="http://www.deque.com">Deque</a> | ||
<div id="mocha"></div> | ||
<script src="pass.js"></script> | ||
<script src="/test/integration/adapter.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,32 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML+ARIA 1.0//EN" "http://www.w3.org/WAI/ARIA/schemata/html4-aria-1.dtd"> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML+ARIA 1.0//EN" "http://www.w3.org/WAI/ARIA/schemata/html4-aria-1.dtd"> | ||
<html lang="en"> | ||
<head> | ||
<title>Async Test</title> | ||
<head> | ||
<title>Async Test</title> | ||
|
||
<link rel="stylesheet" type="text/css" href="/node_modules/mocha/mocha.css" /> | ||
<script src="/node_modules/mocha/mocha.js"></script> | ||
<script src="/node_modules/chai/chai.js"></script> | ||
<script src="/axe.js"></script> | ||
<script> | ||
mocha.setup({ | ||
timeout: 10000, | ||
ui: 'bdd' | ||
}); | ||
var assert = chai.assert; | ||
</script> | ||
<script src="/test/integration/no-ui-reporter.js"></script> | ||
</head> | ||
<body> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="/node_modules/mocha/mocha.css" | ||
/> | ||
<script src="/node_modules/mocha/mocha.js"></script> | ||
<script src="/node_modules/chai/chai.js"></script> | ||
<script src="/axe.js"></script> | ||
<script> | ||
mocha.setup({ | ||
timeout: 10000, | ||
ui: 'bdd' | ||
}); | ||
var assert = chai.assert; | ||
</script> | ||
<script src="/test/integration/no-ui-reporter.js"></script> | ||
</head> | ||
<body> | ||
<div class="async" data-out="true" id="pass"></div> | ||
<div class="async" data-out="false" id="violation"></div> | ||
<div class="async" data-out="undefined" id="incomplete"></div> | ||
|
||
<div class="async" data-out="true" id="pass"></div> | ||
<div class="async" data-out="false" id="violation"></div> | ||
<div class="async" data-out="undefined" id="incomplete"></div> | ||
|
||
<div id="mocha"></div> | ||
<script src="async.js"></script> | ||
<script src="/test/integration/adapter.js"></script> | ||
</body> | ||
<div id="mocha"></div> | ||
<script src="async.js"></script> | ||
<script src="/test/integration/adapter.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.