Skip to content
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

0060-01を追加 #237

Closed
wants to merge 2 commits into from
Closed

0060-01を追加 #237

wants to merge 2 commits into from

Conversation

bakera
Copy link
Contributor

@bakera bakera commented Aug 7, 2024

#236 の対応

Comment on lines +75 to +82
## テスト手順 4

「テスト手順 1」を実施し、「期待される結果 1」にてダイアログが表示されたあと、ダイアログ内のボタンをクリックせず、そのまま20秒待つ

### 期待される結果 4

ダイアログが閉じる。そのまま20秒待つとページが再読み込みされ、「このページを表示した時刻」に表示される時刻が更新される

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

実際に動かしてみると、ダイアログを表示したまま20秒待っても、
ダイアログが勝手に閉じることはなさそうです。いかがでしょうか。

Copy link
Contributor Author

@bakera bakera Aug 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

これはミスですね。すみません。「ダイアログが閉じる。」をトリにします。


# テスト実施時の注意点 (音声閲覧環境)

トグルボタンは「切り替えボタン」などと通知されることもある。トグルボタンであることが伝わるような何らかの通知があれば良い。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

トグルボタンはないですよね。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

これはコピペ元のが残っちゃってました……すみません。

@nishimotz
Copy link
Contributor

ダイアログ表示中にページリロードされないのでは、と指摘しましたが、私の誤解だったようです。もうすこし検証してみます。

いちど「延長しますか」ダイアログで OK を押すと、タイマーが解除されて、それ以降はダイアログが表示されなくなる(リロードもされなくなる)と理解しました。

達成基準 2.2.1 の「延長」を満たしていますが、「解除」「調整」とまぎらわしいですね。

音声閲覧環境の手順に「クリックする」「表示される」と書かれていることは、わかる人にはわかるでしょうが、ちょっと心配です。
時間制限そのものは音声閲覧環境のASに影響するのかと疑問を持たれるかも知れません。

W3C の SCR16 を再確認したら、制限時間5分(ダイアログ表示まで4分40秒)になっていました。
https://www.w3.org/WAI/WCAG22/Techniques/client-side-script/SCR16

@nishimotz
Copy link
Contributor

macOS だと Chrome でアプリケーションウィンドウが非アクティブの場合だけ confirm の表示をサボってリロードするようですね。。

@nishimotz
Copy link
Contributor

いちど「延長しますか」ダイアログで OK を押すと、タイマーが解除されて、それ以降はダイアログが表示されなくなる(リロードもされなくなる)と理解しました。

これも間違いでした。OK を押すと40秒後に userCheck が再実行され、Safari, Firefox, Edge, Chrome(ウィンドウがアクティブな場合) のいずれも「延長しますか」が再表示されました。

音声閲覧環境では使いにくいかも知れません。

@bakera
Copy link
Contributor Author

bakera commented Aug 12, 2024

W3C の SCR16 を再確認したら、制限時間5分(ダイアログ表示まで4分40秒)になっていました。

これは、実際テストするときに4分40秒待つのは厳しすぎたので、時間を短く変更したものです。

@bakera bakera closed this Aug 14, 2024
@bakera bakera deleted the add-test-0060-01 branch August 14, 2024 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants