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

RELEASE Ver. 202404.0 (2024-04-23) #236

Merged
merged 59 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
8a8124e
テンプレート・ファイルを日英で分けず、langの値でテンプレート内で出し分ける前提に変更
ma10 Apr 8, 2024
3cb6f68
テンプレート日英一本化準備
ma10 Apr 8, 2024
c965315
日英のテンプレートを一本化
ma10 Apr 8, 2024
cdb967d
Merge pull request #219 from ma10/yaml2rst-template-management-20240408
ma10 Apr 8, 2024
de2b2e5
ガイドライン、全チェック一覧のチェック項目、チェック方法の例のセクションにclass="permalink"を設定
ma10 Apr 9, 2024
e90a811
class="permalink"が付いたセクションの最初のh2に、リンクコピーボタンを設置。
ma10 Apr 9, 2024
9892657
button.copy-linkのスタイル修正
ma10 Apr 9, 2024
a55e9aa
Merge pull request #220 from ma10/add-copy-link-button-20240405
ma10 Apr 9, 2024
059066e
npm update
ma10 Apr 9, 2024
e50a506
Merge pull request #221 from ma10/npm-update-20240409
ma10 Apr 9, 2024
014e813
exp-grayscaleの英訳追加
ma10 Apr 12, 2024
4a62cfe
exp-image-text-alternativeの英訳追加
ma10 Apr 12, 2024
3ac0468
Merge pull request #222 from ma10/en-translation-20240412
ma10 Apr 12, 2024
3ef4680
Correct title case.
ma10 Apr 12, 2024
38c6d7d
一旦スクリーン・リーダー別のタグは使わない
ma10 Apr 12, 2024
5d55c51
faq-p0004, faq-p0005を追加
ma10 Apr 15, 2024
f7e0161
追加したFAQに関連する参考情報にFAQへのリンク追加
ma10 Apr 15, 2024
a828f83
RST typo fix
ma10 Apr 15, 2024
8206e40
Merge pull request #223 from ma10/add-faq-20240412
ma10 Apr 15, 2024
4056b65
AndroidとiOSの記述を現状に合わせて修正
ma10 Apr 16, 2024
8531038
Windows, iOS, Android 13以降の公式情報へのリンク追加
ma10 Apr 16, 2024
31bf3e1
スクリーンショットを英語版OSのものに差し替え
ma10 Apr 16, 2024
ac46e55
日本語版に合わせて修正
ma10 Apr 16, 2024
b5afe75
RST fix
ma10 Apr 16, 2024
578a75e
Merge pull request #224 from ma10/update-grayscale-20240416
ma10 Apr 16, 2024
0d06940
ページの最初のh1、section.permalinkの最初のh2-h6にコピーリンクボタンを表示するように変更
ma10 Apr 18, 2024
054b37a
コピーボタンのラベルをテンプレートで指定するように変更
ma10 Apr 18, 2024
6a920ba
英語版のcopylink.jsを日本語版へのsymlinkにして、ボタンのラベルをテンプレート内で定義。
ma10 Apr 18, 2024
cf36be7
axe-coreのルールの見出しにコピーリンクボタンを設置
ma10 Apr 18, 2024
fad3cc2
Merge pull request #225 from ma10/revise-copy-link-20240416
ma10 Apr 18, 2024
f9e705f
日英共通のスタティックなリソースは日本語版へのシンボリック・リンクに。
ma10 Apr 18, 2024
1cbe66b
Merge pull request #226 from ma10/share-static-resource-20240418
ma10 Apr 18, 2024
a06f36d
テンプレートのカスタマイズ部分について、日英を同じファイルで管理。
ma10 Apr 19, 2024
acced1d
Merge pull request #227 from ma10/share-templates-20240419
ma10 Apr 19, 2024
5253a19
faq-d0001:関連ガイドライン、カレン連参考情報を追加
ma10 Apr 19, 2024
2d26aec
exp-markup-semantics: 関連FAQを追加
ma10 Apr 19, 2024
c21829d
faq-p0005: タグ、関連情報を見直し
ma10 Apr 19, 2024
99b6495
Merge pull request #228 from ma10/add-related-info-20240419
ma10 Apr 19, 2024
ee3f68f
exp-markup-semanticsを英訳
ma10 Apr 19, 2024
bbb1b69
Merge pull request #229 from ma10/translate-exp-markup-semantics-2024…
ma10 Apr 19, 2024
e166523
copy-linkを拡張。URLのみかタイトル+URLかを選択できる。
ma10 Apr 19, 2024
14efae6
新しいcopylinkに対応したスタイル
ma10 Apr 19, 2024
640c538
copylinのラベルに用いる言語はhtml要素のlang属性から判断するようにしたので、事前の変数定義は不要
ma10 Apr 19, 2024
435a616
Merge pull request #230 from ma10/enhance-copy-link-20240419
ma10 Apr 19, 2024
a6bfba3
exp-axeの英訳追加
ma10 Apr 19, 2024
c0f9e29
Merge pull request #231 from ma10/en-translation-20240419
ma10 Apr 19, 2024
8141184
exp-text-wordingの英訳追加
ma10 Apr 22, 2024
9ed28b3
exp-color-onlyの英訳追加
ma10 Apr 22, 2024
7f35172
参考情報のインデックス系ページの英訳を追加
ma10 Apr 22, 2024
3b4ed73
Merge pull request #232 from ma10/en-translation-20240422
ma10 Apr 22, 2024
6c95b59
:+1: Replace English axe images
ymrl Apr 22, 2024
cacf132
Merge pull request #233 from ymrl/replace_en_axe_images
ma10 Apr 22, 2024
52e8164
外部リンクの記法の誤りを修正
ma10 Apr 22, 2024
f76fbf8
Merge pull request #234 from ma10/fix-rst-20240422
ma10 Apr 22, 2024
f73b555
npm update
ma10 Apr 23, 2024
a6bc5ed
リンク切れを修正
ma10 Apr 23, 2024
15c484a
Ver. 202404.0の更新情報追加
ma10 Apr 23, 2024
8b40f68
Ver. 202404.0 (2024-04-23) リリース準備
ma10 Apr 23, 2024
a8af925
Merge pull request #235 from ma10/release-202404.0
ma10 Apr 23, 2024
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
4 changes: 4 additions & 0 deletions data/json/faq-tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"ja": "Android TalkBack",
"en": "Android TalkBack"
},
"screen-reader": {
"ja": "スクリーン・リーダー",
"en": "Screen Reader"
},
"target-size": {
"ja": "ターゲット・サイズ",
"en": "Target Size"
Expand Down
4 changes: 2 additions & 2 deletions data/yaml/checks/product/0682.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ procedures:
- tool: Landmark Navigation via Keyboard or Pop-up
technique:
ja: |-
`Landmark Navigation via Keyboard or Pop-up <https://matatk.agrip.org.uk/landmarks/>`_ をインストールしたブラウザーで表示した際、コンテンツのすべてのパーツが適切なARIAランドマークの領域に属していることを確認する。
`Landmark Navigation via Keyboard or Pop-up <https://matatk.agrip.org.uk/landmarks/>`__ をインストールしたブラウザーで表示した際、コンテンツのすべてのパーツが適切なARIAランドマークの領域に属していることを確認する。
en: |-
Confirm that every part of the page content is contained in an appropriate ARIA landmark region when viewed using a browser with the `Landmark Navigation via Keyboard or Pop-up <https://matatk.agrip.org.uk/landmarks/>`_ extention installed.
Confirm that every part of the page content is contained in an appropriate ARIA landmark region when viewed using a browser with the `Landmark Navigation via Keyboard or Pop-up <https://matatk.agrip.org.uk/landmarks/>`__ extention installed.
4 changes: 3 additions & 1 deletion data/yaml/faq/d0001.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tags:
- markup
title:
ja: 見出しレベルの指定
en: Heading level specification
en: Heading Level Specification
problem:
ja: |-
見出し、小見出しを設定するべきか、どの部分を見出しに指定すべきか分からない。
Expand Down Expand Up @@ -33,7 +33,9 @@ explanation:
If you can't imagine what kind of information is lined up on the page just by reading the headings, there probably are not enough headings.
guidelines:
- gl-text-heading-label
- gl-markup-semantics
checks:
- '0271'
info:
- exp-text-wording
- exp-markup-semantics
14 changes: 7 additions & 7 deletions data/yaml/faq/d0002.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tags:
- target-size
title:
ja: ラジオボタンやチェックボックスのサイズ
en: Size of radio buttons and check boxes
en: Size of Radio Buttons And Check Boxes
problem:
ja: |-
サイズが24×24pxより小さいラジオボタンやチェックボックスは、 :ref:`check-0331` と :ref:`check-0351` でNGとすべきか
Expand All @@ -26,19 +26,19 @@ solution:
explanation:
ja: |-
:ref:`check-0331` と :ref:`check-0351` は、ガイドライン項目 :ref:`gl-icon-target-size` を満たすための条件を示しています。
このガイドラインは、WCAG 2.1の達成基準2.5.5 `Target Size <https://www.w3.org/TR/WCAG21/#target-size>`_ ( `ターゲットのサイズ <https://waic.jp/translations/WCAG21/#target-size>`_ )が元になっています。
このガイドラインは、WCAG 2.1の達成基準2.5.5 `Target Size <https://www.w3.org/TR/WCAG21/#target-size>`__ ( `ターゲットのサイズ <https://waic.jp/translations/WCAG21/#target-size>`__ )が元になっています。

レベルAAAのこの達成基準では、マウスなどのポインティング・ディバイスの操作対象(チェックボックスやラジオボタンを含む)の大きさとして44×44px以上のサイズを求めています。
デスクトップ向けサービスの多いfreeeでは、44×44px以上を満たすのは難しいものの、何らかの基準は必要ということで、24×24pxという基準を設けています。

なお、WCAGの最新バージョンであるWCAG 2.2では、 `Target Size (Minimum) <https://www.w3.org/TR/WCAG22/#target-size-minimum>`_ として、24×24px以上を求めるレベルAAの達成基準2.5.8が追加されています。
なお、WCAGの最新バージョンであるWCAG 2.2では、 `Target Size (Minimum) <https://www.w3.org/TR/WCAG22/#target-size-minimum>`__ として、24×24px以上を求めるレベルAAの達成基準2.5.8が追加されています。

これらの達成基準では、例外事項として、「ユーザエージェントのコントロールである: ターゲットのサイズがユーザエージェントによって定められており、かつコンテンツ制作者が変更していない。」という項目があるため、freeeのガイドライン/チェックリストでも、ブラウザーのデフォルトから変更していないものは対象外としています。
ブラウザーのデフォルトでラジオボタンやチェックボックスのサイズが小さいのはコンテンツ製作者の責任ではなく、またブラウザーのデフォルトにしてあればユーザー側で変更することも可能だろうという想定なのだと考えられます。

ブラウザーのデフォルトから変更しているかどうかの判断方法には、以下のようなものがあります。

* MDNの `チェックボックスのサンプル <https://developer.mozilla.org/ja/docs/Web/HTML/Element/input/checkbox>`_ や `ラジオボタンのサンプル <https://developer.mozilla.org/ja/docs/Web/HTML/Element/input/radio>`_ と見比べてみて、明らかに見た目が違う場合は変更されている。
* MDNの `チェックボックスのサンプル <https://developer.mozilla.org/ja/docs/Web/HTML/Element/input/checkbox>`__ や `ラジオボタンのサンプル <https://developer.mozilla.org/ja/docs/Web/HTML/Element/input/radio>`__ と見比べてみて、明らかに見た目が違う場合は変更されている。
* 開発者ツールを用いてページのソースを確認する:

1. チェックボックスの上で右クリックしてメニューを開き、「検証」を選ぶ
Expand All @@ -63,19 +63,19 @@ explanation:

上記のスクリーン・ショットでは ``box-sizing: border-box`` が上書きされているが、元の指定と同じで、見た目を変更する指定でもないので問題はない。
en: |-
Checks 0331 and 0351 indicate the conditions for satisfying Guideline Item :ref:`gl-icon-target-size` which is based on the Success Criterion 2.5.5 `Target Size <https://www.w3.org/TR/WCAG21/#target-size>`_ of WCAG 2.1.
Checks 0331 and 0351 indicate the conditions for satisfying Guideline Item :ref:`gl-icon-target-size` which is based on the Success Criterion 2.5.5 `Target Size <https://www.w3.org/TR/WCAG21/#target-size>`__ of WCAG 2.1.

This Level AAA success criterion requires the size of pointer input targets, including checkboxes and radio buttons, to be 44×44px or more.
freee, which has many desktop services, finds it difficult to meet the requirement of 44×44px or more, but it is necessary to have some kind of standard, so we have set a standard of 24×24px.

In WCAG 2.2, the latest version of WCAG, Level AA Success Criterion 2.5.8 `Target Size (Minimum) <https://www.w3.org/TR/WCAG22/#target-size-minimum>`_ has been added, which requires a size of 24×24px or more.
In WCAG 2.2, the latest version of WCAG, Level AA Success Criterion 2.5.8 `Target Size (Minimum) <https://www.w3.org/TR/WCAG22/#target-size-minimum>`__ has been added, which requires a size of 24×24px or more.

These success criteria have an exception that "The size of the target is determined by the user agent and is not modified by the author." Therefore, in freee's guidelines/checklist, those that have not been changed from the browser's default are excluded.
When the check boxes and radio buttons are shown with the browser's default style, the content author does not owe the responsibility for it, and it can be assumed that the user can change the setting.

There are several ways to determine whether or not the browser's default has been changed.

* If the appearance is clearly different from the MDN `checkbox sample <https://developer.mozilla.org/ja/docs/Web/HTML/Element/input/checkbox>`_ or `radio button sample <https://developer.mozilla.org/ja/docs/Web/HTML/Element/input/radio>`_ , it has been changed.
* If the appearance is clearly different from the MDN `checkbox sample <https://developer.mozilla.org/ja/docs/Web/HTML/Element/input/checkbox>`__ or `radio button sample <https://developer.mozilla.org/ja/docs/Web/HTML/Element/input/radio>`__ , it has been changed.
* Use the developer tools to check the page source:

1. Right-click on the checkbox to open the menu and select "Inspect".
Expand Down
6 changes: 3 additions & 3 deletions data/yaml/faq/d0003.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tags:
- target-size
title:
ja: テキスト・リンクのクリック可能な領域が小さい
en: The clickable area of a text link is small
en: The Clickable Area of a Text Link Is Small
problem:
ja: |-
文中のテキストがリンクになっている箇所について、クリック/タップできる領域のサイズ、特に高さが基準を満たしていないが、修正する必要があるか。
Expand All @@ -19,13 +19,13 @@ solution:
explanation:
ja: |-
当ガイドラインでクリック/タップ可能な領域のサイズ(ターゲット・サイズ)について定めているものは、アイコンとフォーム・コントロールを対象としていて、テキストのリンクは対象としていません。
また、WCAG 2.1の達成基準2.5.5 `Target Size <https://www.w3.org/TR/WCAG21/#target-size>`_ ( `ターゲットのサイズ <https://waic.jp/translations/WCAG21/#target-size>`_ )においても、インラインである場合の例外として、クリック/タップのターゲットが文中、又はテキスト・ブロック内に存在する場合には、サイズの基準の対象外としています。
また、WCAG 2.1の達成基準2.5.5 `Target Size <https://www.w3.org/TR/WCAG21/#target-size>`__ ( `ターゲットのサイズ <https://waic.jp/translations/WCAG21/#target-size>`__ )においても、インラインである場合の例外として、クリック/タップのターゲットが文中、又はテキスト・ブロック内に存在する場合には、サイズの基準の対象外としています。

ターゲット・サイズは大きい方が操作しやすいというのは事実ですから、幅に関してはリンクにするテキストの内容を工夫することでより広くすることはできますし、可能な範囲でそういった工夫をすることは推奨されます。
一方高さに関しては、ターゲット・サイズの基準を満たすだけの目的で調整する必要はありません。
en: |-
In our guidelines, the specified sizes for clickable/tappable areas (target size) are intended for icons and form controls, and do not apply to text links.
Similarly, in WCAG 2.1 `Success Criterion 2.5.5 Target Size <https://www.w3.org/TR/WCAG21/#target-size>`_, there's an exception for inline elements, where targets that are within sentences or text blocks are exempt from the size criteria.
Similarly, in WCAG 2.1 `Success Criterion 2.5.5 Target Size <https://www.w3.org/TR/WCAG21/#target-size>`__, there's an exception for inline elements, where targets that are within sentences or text blocks are exempt from the size criteria.

It is true that larger target size makes it easier to interact with, so it is recommended to creatively adjust the content of the text being linked to make its width broader, within feasible limits.
However, there is no need to adjust the height solely to meet the target size criteria.
Expand Down
7 changes: 2 additions & 5 deletions data/yaml/faq/p0001.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ id: p0001
sortKey: 70000
updated: '2023-12-05'
tags:
- nvda
- macos-vo
- ios-vo
- android-tb
- screen-reader
title:
ja: スクリーン・リーダーの読み上げ方がおかしい漢字や英単語がある
en: There are kanji or English words that are read in an unexpected way by the screen reader.
en: There Are Kanji Or English Words That Are Read in an Unexpected Way by Screen Readers
problem:
ja: |-
読み上げられ方のおかしい漢字や英単語があるが、どのように対処するべきか。
Expand Down
2 changes: 1 addition & 1 deletion data/yaml/faq/p0002.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tags:
- axe
title:
ja: axe DevToolsの警告への対処
en: Dealing with axe DevTools warnings
en: Dealing With axe DevTools Warnings
problem:
ja: |-
axe DevToolsで出ている警告の意味や対処方法が分からない。
Expand Down
2 changes: 1 addition & 1 deletion data/yaml/faq/p0003.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tags:
- grayscale
title:
ja: グレースケール表示にするブックマークレットで表示が崩れる
en: The bookmarklet to display in grayscale breaks the layout
en: The Bookmarklet to Display in Grayscale Breaks the Layout
problem:
ja: |-
グレースケール表示した際の見え方を確認するために :ref:`exp-grayscale` で紹介されているブックマークレットを使うと表示が崩れる、関連するチェックの結果はNGとすべきか。
Expand Down
53 changes: 53 additions & 0 deletions data/yaml/faq/p0004.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
id: p0004
updated: '2024-04-12'
sortKey: 70050
tags:
- screen-reader
title:
ja: どのような情報をスクリーン・リーダーで読み上げられないようにするべきか
en: What Information Should Not Be Read Aloud by Screen Readers?
problem:
ja: |-
スクリーン・リーダーを使用する際、どのような要素が読み上げられるべきか、または読み上げられるべきではないかの判断をどのようにするべきか分からない。
en: |-
It is unclear how to determine which elements should be read aloud and which should not by a screen reader.
solution:
ja: |-
* スクリーン・リーダーで読み上げられるようにするべきか迷う場合は、読み上げられるようにする。
* 装飾的に挿入されている意味を持たない画像や、アイコンなどの画像で直後に全く同じ意味のテキストがある場合、それらは読み上げられないようにする。
* それ以外の要素は、原則として読み上げられるようにする。
en: |-
* If you are unsure whether something should be read aloud by a screen reader, make it read aloud.
* If there is an image that is inserted decoratively and has no meaning, or an image such as an icon, and there is exactly the same text immediately after it, it should not be read aloud.
* Other elements should generally be read aloud.
explanation:
ja: |-
情報の取捨選択は、最終的にユーザーに委ねられるべきです。
ですから、意味のある情報は原則としてすべて読み上げられるようにするべきです。

ただし、装飾的に挿入されている意味を持たない画像は読み上げられないようにします。

また、アイコンなどの画像で直後に全く同じ意味のテキストがある場合、それらの画像は読み上げられないようにします。
こうすることで、情報の重複を避けることができます。

それ以外で読み上げられないようにしても問題がない情報は、そもそも画面上に表示されている必要がない情報の可能性があります。
en: |-
The decision on what information to filter should ultimately be left to the user.
Therefore, as a principle, all meaningful information should be made readable.

However, images inserted purely for decoration without any meaning should not be read aloud.

Images such as icons where identical meaning text immediately follows, also should not be read aloud.
This helps avoid the duplication of information.

Information that does not pose a problem even if not read aloud may not need to be displayed on the screen at all.
guidelines:
- gl-image-decorative
checks:
- '0402'
- '0413'
- '0451'
- '0461'
- '0471'
info:
- exp-image-text-alternative
Loading
Loading