-
Notifications
You must be signed in to change notification settings - Fork 5
0143-01 / ARIA23のテストを追加(事例1) #276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,49 +22,35 @@ ARIA23 | |
|
|
||
| ```html | ||
| <h2 id="chatHeading">会話のログ</h2> | ||
| <div id="chatLog" role="log" aria-labelledby="chatHeading"> | ||
| <div id="chatLog" role="log"> | ||
| <ul id="chatMessage"></ul> | ||
| </div> | ||
| ``` | ||
|
|
||
| ```JavaScript | ||
| function makeChat () { | ||
| var chatText = ["自動返信:こんにちわ!", "自動返信:返信はこれで終了です"]; | ||
| var chatText = ["自動返信:こんにちわ!", "自動返信:5つカウントした後、返信を終了します", "自動返信:1", "自動返信:2", "自動返信:3", "自動返信:4", "自動返信:5", "自動返信:返信はこれで終了です"]; | ||
| var chatContent = document.getElementById("chatMessage"); | ||
| var list = document.createElement("li") | ||
| var item = document.createTextNode(chatText[counter]); | ||
| list.appendChild(item); | ||
| chatContent.appendChild(list); | ||
| counter++; | ||
| if (counter > 1) { | ||
| if (counter > 7) { | ||
| clearInterval(myVar); | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
| # テスト手順 (視覚閲覧環境) | ||
| # テスト手順と期待される結果 (視覚閲覧環境) | ||
|
|
||
| ## テスト手順 1 | ||
|
|
||
| 「メッセージを送る」ボタンを押下する | ||
|
|
||
| ## 期待される結果 1 | ||
|
|
||
| 「会話のログ」見出しの後に、「あなた:こんにちわ」と表示される | ||
|
|
||
| ## テスト手順 2 | ||
|
|
||
| 「メッセージを送る」の押下後、何もしないまま6秒程度待つ | ||
|
|
||
| ## 期待される結果 2 | ||
|
|
||
| 3秒後に「自動返信:こんにちわ!」と通知され、さらに3秒後に「自動返信:返信はこれで終了です」と表示される | ||
| テスト不要 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 視覚閲覧環境でのテストを削除。 |
||
|
|
||
| # テスト実施時の注意点 (視覚閲覧環境) | ||
|
|
||
| - ブラウザのJavaScriptが有効になっていることを確認すること | ||
| なし | ||
|
|
||
| # テスト手順 (音声閲覧環境) | ||
| # テスト手順と期待される結果 (音声閲覧環境) | ||
|
|
||
| ## テスト手順 1 | ||
|
|
||
|
|
@@ -76,17 +62,17 @@ function makeChat () { | |
|
|
||
| ## テスト手順 2 | ||
|
|
||
| 「メッセージを送る」の押下後、何もしないまま6秒程度待つ | ||
| 「メッセージを送る」ボタンのすぐ後に続く「ダミーコンテンツです」から始まるリンクへと移動する | ||
|
|
||
| ## 期待される結果 2 | ||
|
|
||
| 3秒後に「自動返信:こんにちわ!」と通知され、さらに3秒後に「自動返信:返信はこれで終了です」と通知される | ||
| リンク内容の通知の後、「自動返信」から始まるメッセージが通知される(リンク内容の通知は、自動返信の通知に遮られないこと) | ||
|
||
|
|
||
| # テスト実施時の注意点 (音声閲覧環境) | ||
|
|
||
| - ブラウザのJavaScriptが有効になっていることを確認すること | ||
| - テストの通知を待つ間に他の通知が生じた場合、他の通知の完了後にテストによるメッセージが通知される。そのため、必ずしも3秒後にメッセージが通知されるとは限らない | ||
| - 自動返信メッセージの通知中に次の自動返信が生じた場合、それまでの自動返信は中断される場合がある | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 「log role の更新内容の通知中」に log role の更新が発生した場合、NVDA と VoiceOver とでの振る舞いの違いがありました。
NVDA の方がイメージするものに近い(log の通知として丁寧)のですが、VoiceOver の振る舞いも「古いものから開始する」が成立しているため NG とは言い切りにくいように思えました。
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| # 関連する要素や属性 | ||
|
|
||
| role属性、aria-labelledby属性 | ||
| role属性 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log role への aria-labelledby 指定を削除。