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

C12 / 0059-01 のテストを追加 #238

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions WAIC-CODE/WAIC-CODE-0059-01.html
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-0059-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><strong>ユーザー</strong>がテキストサイズを制御できるようにする</h1>
<p>どのサイズのテキストが自分に適しているかはユーザーのみが知ることができるので、
テキストサイズを設定できるようにすることが<strong>非常に</strong>重要です。</p>

</body>
</html>
70 changes: 70 additions & 0 deletions WAIC-TEST/HTML/WAIC-TEST-0059-01.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# テスト ID

WAIC-TEST-0059-01

# テストのタイトル

CSS によるフォントサイズのパーセント指定

# テストの目的

strong 要素にパーセントでフォントサイズを指定した場合、親要素のフォントサイズに基づいて他のテキストより大きく表示されるかを確認

# テストの対象となる達成基準

1.4.4
1.4.5(参考)
1.4.8
1.4.9(参考)

# 関連する達成方法 (複数)

C12
C13
C14
Comment on lines +23 to +24
Copy link
Contributor

Choose a reason for hiding this comment

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

C12そのものを参照してませんが、するならここですよね

Copy link
Contributor Author

Choose a reason for hiding this comment

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

C12追加しました。


# テストコード (テストファイルへのリンク)

[WAIC-CODE-0059-01](https://waic.github.io/as_test/WAIC-CODE/WAIC-CODE-0059-01.html)

# テストコードのソース (抜粋)

```HTML
<h1><strong>ユーザー</strong>がテキストサイズを制御できるようにする</h1>
<p>どのサイズのテキストが自分に適しているかはユーザーのみが知ることができるので、
テキストサイズを設定できるようにすることが<strong>非常に</strong>重要です。</p>
```

```CSS
strong {
font-size: 120%;
}
```

# テスト手順 (視覚閲覧環境)

ブラウザの文字サイズ変更ボタンから文字サイズを拡大する

# 期待される結果 (視覚閲覧環境)

パーセントでフォントサイズが指定されたstrong 要素の「ユーザー」と「非常に」が周囲のテキストより大きく表示される

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

なし

# テスト手順 (音声閲覧環境)

テスト不要

# 期待される結果 (音声閲覧環境)

なし

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

なし

# 関連する要素や属性

strong 要素