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 4392b5c commit 4648a12Copy full SHA for 4648a12
WAIC-TEST/HTML/WAIC-TEST-0142-01.md
@@ -21,21 +21,21 @@ ARIA22
21
# テストコードのソース (抜粋)
22
23
```html
24
-<div role="main">
+<main>
25
<div role="search">
26
<label for="mockinput">次の語と一致する単語を検索:
27
<input type="text" name="mockinput" id="mockinput" value="オレンジ">
28
</label>
29
<button id="btn" onclick="findOrange()">検索</button>
30
</div>
31
<h2>結果</h2>
32
-<p role="status" aria-atomic="true" id="resultsmsg"></p>
33
-</div>
+<p role="status" id="resultsmsg"></p>
+</main>
34
```
35
36
```JavaScript
37
function findOrange () {
38
-document.getElementById("resultsmsg").innerHTML = "0 件の結果が返されました"
+document.getElementById("resultsmsg").textContent = "0 件の結果が返されました"
39
}
40
41
0 commit comments