Skip to content

Commit 00c0263

Browse files
authored
Merge pull request #372 from ma10/revisit-reflow-20250714
リフロー関連のチェック見直し
2 parents 8b37373 + e631f1e commit 00c0263

File tree

3 files changed

+156
-6
lines changed

3 files changed

+156
-6
lines changed

data/yaml/checks/design/0301.yaml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
id: '0301'
2+
sortKey: 101350
3+
severity: minor
4+
target: design
5+
platform:
6+
- web
7+
check:
8+
ja: |-
9+
ブラウザーのズーム機能で400%に拡大表示しても、特定のレイアウトを保持する必要があるコンテンツを除き、適切にリフローされるように設計されている。
10+
11+
特定のレイアウトを保持する必要があるコンテンツの例:
12+
13+
* 巨大な表
14+
* 印刷のプレビュー
15+
* スキャンされた画像のプレビュー
16+
en: |-
17+
The design should allow for appropriate reflow when enlarged to 400% using the browser's zoom function, except for content that requires a fixed layout.
18+
19+
Examples of content that requires a fixed layout:
20+
21+
* Large tables
22+
* Print previews
23+
* Previews of scanned images
24+
conditions:
25+
- platform: web
26+
type: or
27+
conditions:
28+
- type: and
29+
conditions:
30+
- type: simple
31+
id: 0301-content-01
32+
tool: misc
33+
procedure:
34+
ja: |-
35+
チェック対象のページは横書きのコンテンツである。
36+
en: |-
37+
The page to be checked is primarily in horizontal writing format.
38+
- type: or
39+
conditions:
40+
- type: simple
41+
id: 0301-content-02
42+
tool: misc
43+
procedure:
44+
ja: |-
45+
ブラウザー・ウィンドウの幅に応じてレイアウトを切り替え、幅320pxでも横スクロールが表示されない設計になっている。
46+
en: |-
47+
The content is designed so that the layout switches according to the browser window width, ensuring that no horizontal scrolling is displayed even at a width of 320px.
48+
- type: simple
49+
id: 0301-content-03
50+
tool: misc
51+
procedure:
52+
ja: |-
53+
ブラウザー・ウィンドウの幅が320pxのときに、横スクロールを必要とする部分は、特定のレイアウトを保持する必要があるコンテンツである。
54+
en: |-
55+
In a browser window with a width of 320px, any part that requires horizontal scrolling is content that needs to be displayed in a fixed layout.
56+
- type: and
57+
conditions:
58+
- type: simple
59+
id: 0301-content-04
60+
tool: misc
61+
procedure:
62+
ja: |-
63+
チェック対象のページは縦書きのコンテンツである。
64+
en: |-
65+
The page to be checked is primarily in vertical writing format.
66+
- type: or
67+
conditions:
68+
- type: simple
69+
id: 0301-content-05
70+
tool: misc
71+
procedure:
72+
ja: |-
73+
ブラウザー・ウィンドウの高さに応じてレイアウトを切り替え、高さ256pxでも縦スクロールが表示されない設計になっている。
74+
en: |-
75+
The content is designed so that the layout switches according to the browser window height, ensuring that no vertical scrolling is displayed even at a height of 256px.
76+
- type: simple
77+
id: 0301-content-06
78+
tool: misc
79+
procedure:
80+
ja: |-
81+
ブラウザー・ウィンドウの高さが256pxのときに、縦スクロールを必要とする部分は、特定のレイアウトを保持する必要があるコンテンツである。
82+
en: |-
83+
In a browser window with a height of 256px, any part that requires vertical scrolling is content that needs to be displayed in a fixed layout.

data/yaml/checks/product/0322.yaml

Lines changed: 72 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,78 @@ platform:
66
- web
77
check:
88
ja: |-
9-
1280x1024のサイズのウィンドウにおいて、ブラウザーのズーム機能を用いて400パーセントの拡大表示をしたときに適切にリフローされ
9+
ブラウザーのズーム機能で400%に拡大表示しても、特定のレイアウトを保持する必要があるコンテンツを除き、適切にリフローされる。
1010
11-
* 横書きのコンテンツでは横スクロールが、縦書きのコンテンツでは縦スクロールが発生しない、かつ
12-
* 読み取れない内容や利用できない機能がない
11+
特定のレイアウトを保持する必要があるコンテンツの例:
12+
13+
* 巨大な表
14+
* 印刷のプレビュー
15+
* スキャンされた画像のプレビュー
1316
en: |-
14-
Magnifying content to 400 percent using the zoom function of the browser on a 1280x1024 window reflows the content properly and
17+
The product should allow for appropriate reflow when enlarged to 400% using the browser's zoom function, except for content that requires a fixed layout.
1518
16-
* no horizontal scrolling is necessary on left-to-right content, and no vertical scrolling is necessary on top-to-bottom content, and
17-
* there is no unreadable content or unusable functionality
19+
Examples of content that requires a fixed layout:
20+
21+
* Large tables
22+
* Print previews
23+
* Previews of scanned images
24+
conditions:
25+
- platform: web
26+
type: or
27+
conditions:
28+
- type: and
29+
conditions:
30+
- type: simple
31+
id: 0322-content-01
32+
tool: misc
33+
procedure:
34+
ja: |-
35+
チェック対象のページは横書きのコンテンツである。
36+
en: |-
37+
The page to be checked is primarily in horizontal writing format.
38+
- type: or
39+
conditions:
40+
- type: simple
41+
id: 0322-content-02
42+
tool: misc
43+
procedure:
44+
ja: |-
45+
幅が1280pxのウィンドウにおいて、ブラウザーのズーム機能を用いて400パーセントの拡大表示をしたときも、横スクロールを必要としないレイアウトになっている。
46+
en: |-
47+
In a window with a width of 1280px, when the browser's zoom function is used to enlarge the display to 400 percent, horizontal scrolling is not required.
48+
- type: simple
49+
id: 0322-content-03
50+
tool: misc
51+
procedure:
52+
ja: |-
53+
幅が1280pxのウィンドウにおいて、ブラウザーのズーム機能を用いて400パーセントの拡大表示をしたときに横スクロールを必要とする部分は、特定のレイアウトを保持する必要があるコンテンツである。
54+
en: |-
55+
In a window with a width of 1280px, when the browser's zoom function is used to enlarge the display to 400 percent, any part that requires horizontal scrolling is content that needs to be displayed in a fixed layout.
56+
- type: and
57+
conditions:
58+
- type: simple
59+
id: 0322-content-04
60+
tool: misc
61+
procedure:
62+
ja: |-
63+
チェック対象のページは縦書きのコンテンツである。
64+
en: |-
65+
The page to be checked is primarily in vertical writing format.
66+
- type: or
67+
conditions:
68+
- type: simple
69+
id: 0322-content-05
70+
tool: misc
71+
procedure:
72+
ja: |-
73+
高さが1024pxのウィンドウにおいて、ブラウザーのズーム機能を用いて400パーセントの拡大表示をしたときも、縦スクロールを必要としないレイアウトになっている。
74+
en: |-
75+
In a window with a height of 1024px, when the browser's zoom function is used to enlarge the display to 400 percent, vertical scrolling is not required.
76+
- type: simple
77+
id: 0322-content-06
78+
tool: misc
79+
procedure:
80+
ja: |-
81+
高さが1024pxのウィンドウにおいて、ブラウザーのズーム機能を用いて400パーセントの拡大表示をしたときに縦スクロールを必要とする部分は、特定のレイアウトを保持する必要があるコンテンツである。
82+
en: |-
83+
In a window with a height of 1024px, when the browser's zoom function is used to enlarge the display to 400 percent, any part that requires vertical scrolling is content that needs to be displayed in a fixed layout.

data/yaml/gl/text/zoom-reflow.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ intent:
1919
en: |-
2020
Ensure that individuals with low vision can use the content without issues, even when magnifying it with the zoom function.
2121
checks:
22+
- '0301'
2223
- '0322'
2324
info:
2425
- exp-magnification

0 commit comments

Comments
 (0)