-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #242 from waic/add-test-0090-01
0090-01 / C12のテストを追加
- Loading branch information
Showing
2 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="ja"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>WAIC-CODE-0090-01</title> | ||
<meta name="copyright" content="This document is licensed under a Creative Commons 4.0"> | ||
<link rel="license" href="https://creativecommons.org/licenses/by/4.0/"> | ||
<meta name="author" content="ウェブアクセシビリティ基盤委員会(WAIC)"> | ||
<style> | ||
strong { | ||
font-size: 120%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
<h1><img src="https://waic.jp/wp-content/themes/waic/images/mark.png" alt="WAICロゴマーク" width="50" height="50"><strong>ユーザー</strong>がテキストサイズを制御できるようにする</h1> | ||
<p>どのサイズのテキストが自分に適しているかはユーザーのみが知ることができるので、 | ||
テキストサイズを設定できるようにすることが<strong>非常に</strong>重要です。</p> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# テスト ID | ||
|
||
WAIC-TEST-0090-01 | ||
|
||
# テストのタイトル | ||
|
||
CSS によるフォントサイズのパーセント指定 | ||
|
||
# テストの目的 | ||
|
||
strong 要素にパーセントでフォントサイズを指定した場合、親要素のフォントサイズに基づいて他のテキストより大きく表示されるかを確認 | ||
|
||
# テストの対象となる達成基準 | ||
|
||
1.4.4, 1.4.5(参考), 1.4.8, 1.4.9(参考) | ||
|
||
# 関連する達成方法 (複数) | ||
|
||
C12, C13, C14 | ||
|
||
# テストコード (テストファイルへのリンク) | ||
|
||
[WAIC-CODE-0090-01](https://waic.github.io/as_test/WAIC-CODE/WAIC-CODE-0090-01.html) | ||
|
||
# テストコードのソース (抜粋) | ||
|
||
```HTML | ||
<h1><img src="https://waic.jp/wp-content/themes/waic/images/mark.png" alt="WAICロゴマーク" width="50" height="50"><strong>ユーザー</strong>がテキストサイズを制御できるようにする</h1> | ||
<p>どのサイズのテキストが自分に適しているかはユーザーのみが知ることができるので、 | ||
テキストサイズを設定できるようにすることが<strong>非常に</strong>重要です。</p> | ||
``` | ||
|
||
```CSS | ||
strong { | ||
font-size: 120%; | ||
} | ||
``` | ||
|
||
# テスト手順 (視覚閲覧環境) | ||
|
||
ズーム機能ではなく、ブラウザの文字サイズ変更機能を用いて、文字サイズのみを拡大する | ||
|
||
# 期待される結果 (視覚閲覧環境) | ||
|
||
フォントサイズがパーセントで指定された見出し要素内の strong 要素「ユーザー」と、段落要素内の strong 要素「非常に」が、周囲のテキストよりも大きく表示される | ||
|
||
# テスト実施時の注意点 (視覚閲覧環境) | ||
|
||
なし | ||
|
||
# テスト手順 (音声閲覧環境) | ||
|
||
テスト不要 | ||
|
||
# 期待される結果 (音声閲覧環境) | ||
|
||
なし | ||
|
||
# テスト実施時の注意点 (音声閲覧環境) | ||
|
||
なし | ||
|
||
# 関連する要素や属性 | ||
|
||
strong 要素 |