Skip to content

Commit 4648a12

Browse files
authored
テストコードのソースを修正
1 parent 4392b5c commit 4648a12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

WAIC-TEST/HTML/WAIC-TEST-0142-01.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,21 @@ ARIA22
2121
# テストコードのソース (抜粋)
2222

2323
```html
24-
<div role="main">
24+
<main>
2525
<div role="search">
2626
<label for="mockinput">次の語と一致する単語を検索:
2727
<input type="text" name="mockinput" id="mockinput" value="オレンジ">
2828
</label>
2929
<button id="btn" onclick="findOrange()">検索</button>
3030
</div>
3131
<h2>結果</h2>
32-
<p role="status" aria-atomic="true" id="resultsmsg"></p>
33-
</div>
32+
<p role="status" id="resultsmsg"></p>
33+
</main>
3434
```
3535

3636
```JavaScript
3737
function findOrange () {
38-
document.getElementById("resultsmsg").innerHTML = "0 件の結果が返されました"
38+
document.getElementById("resultsmsg").textContent = "0 件の結果が返されました"
3939
}
4040
```
4141

0 commit comments

Comments
 (0)