We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4648a12 commit 1b56db9Copy full SHA for 1b56db9
WAIC-CODE/WAIC-CODE-0142-01.html
@@ -8,20 +8,20 @@
8
<meta name="author" content="ウェブアクセシビリティ基盤委員会(WAIC)">
9
<script>
10
function findOrange () {
11
- document.getElementById("resultsmsg").innerHTML = "0 件の結果が返されました"
+ document.getElementById("resultsmsg").textContent = "0 件の結果が返されました"
12
}
13
</script>
14
</head>
15
<body>
16
-<div role="main">
+<main>
17
<div role="search">
18
<label for="mockinput">次の語と一致する単語を検索:
19
<input type="text" name="mockinput" id="mockinput" value="オレンジ">
20
</label>
21
<button id="btn" onclick="findOrange()">検索</button>
22
</div>
23
<h2>結果</h2>
24
- <p role="status" aria-atomic="true" id="resultsmsg"></p>
25
-</div>
+ <p role="status" id="resultsmsg"></p>
+</main>
26
</body>
27
</html>
0 commit comments