Skip to content

Commit

Permalink
Understanding 2.2 2024年2月14日版
Browse files Browse the repository at this point in the history
  • Loading branch information
momdo committed Feb 22, 2024
1 parent 9f53597 commit 2fdc741
Show file tree
Hide file tree
Showing 299 changed files with 75,348 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,22 @@

[ウェブアクセシビリティ基盤委員会 (WAIC) 翻訳ワーキンググループ (WG4)](http://waic.jp/committee/wg4/) が管理する、WCAG 2.x とその関連文書について、W3Cのソースファイルを保管しているレポジトリです。

## WCAG 2.2

WCAG 2.2に関連する翻訳文書のレポジトリは、[waic/wcag22](https://github.com/waic/wcag22)になります。

### Understanding(解説書)のコミット

[gh-pages](https://github.com/w3c/wcag/tree/gh-pages)ブランチより入手

- 原レポジトリの[8ce579b](https://github.com/w3c/wcag/commit/8ce579b703805fdc7523c733566d31b876a61b3c)
- Updated 14 February 2024.

## WCAG 2.1

WCAG 2.1に関連する翻訳文書のレポジトリは、[waic/wcag21](https://github.com/waic/wcag21)になります。

## Understanding(解説書)のコミット
### Understanding(解説書)のコミット

- 433b1cf Understanding WCAG 2.1 2019年3月6日版 (Editor's Draft)
- 1a05939 Understanding WCAG 2.1 2020年12月2日版 (Official Version)
Expand All @@ -14,7 +27,7 @@ WCAG 2.1に関連する翻訳文書のレポジトリは、[waic/wcag21](https:/

なお、[433b1cf](https://github.com/waic/w3c-wcag/commit/433b1cf74f0cde0592aa06b0b3215c0ba4fbe5ae)のコミットは、[w3c/wcag](https://github.com/w3c)のコミット[dfad86](https://github.com/w3c/wcag/tree/dfad867083e7137d27e472e3b85aaac8cd2c2c77/understanding)と同一のファイルです。

## Techniques(達成方法集)のコミット
### Techniques(達成方法集)のコミット

- 868b7ca Techniques for WCAG 2.1 2019年10月1日版 (Editor's Draft)

Expand Down
888 changes: 888 additions & 0 deletions wcag22/understanding/abbreviations.html

Large diffs are not rendered by default.

659 changes: 659 additions & 0 deletions wcag22/understanding/about.html

Large diffs are not rendered by default.

645 changes: 645 additions & 0 deletions wcag22/understanding/accessible-authentication-enhanced.html

Large diffs are not rendered by default.

984 changes: 984 additions & 0 deletions wcag22/understanding/accessible-authentication-minimum.html

Large diffs are not rendered by default.

223 changes: 223 additions & 0 deletions wcag22/understanding/adaptable.html

Large diffs are not rendered by default.

377 changes: 377 additions & 0 deletions wcag22/understanding/animation-from-interactions.html

Large diffs are not rendered by default.

605 changes: 605 additions & 0 deletions wcag22/understanding/audio-control.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

681 changes: 681 additions & 0 deletions wcag22/understanding/audio-description-prerecorded.html

Large diffs are not rendered by default.

653 changes: 653 additions & 0 deletions wcag22/understanding/audio-only-and-video-only-prerecorded.html

Large diffs are not rendered by default.

440 changes: 440 additions & 0 deletions wcag22/understanding/audio-only-live.html

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions wcag22/understanding/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.wcag21, .wcag22 {
background-color: #E9FBE9;
border-left: solid .5em #52E052;
}
span.wcag21, span.wcag22 {
margin-left: .25em;
padding-left: .25em;
}
div.wcag21, div.wcag22 {
margin: 1em auto;
padding: .5em;
page-break-inside: avoid;
}
.new-version {
font-size: smaller;
font-weight: bold;
}
820 changes: 820 additions & 0 deletions wcag22/understanding/bypass-blocks.html

Large diffs are not rendered by default.

881 changes: 881 additions & 0 deletions wcag22/understanding/captions-live.html

Large diffs are not rendered by default.

1,037 changes: 1,037 additions & 0 deletions wcag22/understanding/captions-prerecorded.html

Large diffs are not rendered by default.

1,048 changes: 1,048 additions & 0 deletions wcag22/understanding/change-on-request.html

Large diffs are not rendered by default.

697 changes: 697 additions & 0 deletions wcag22/understanding/character-key-shortcuts.html

Large diffs are not rendered by default.

193 changes: 193 additions & 0 deletions wcag22/understanding/compatible.html

Large diffs are not rendered by default.

340 changes: 340 additions & 0 deletions wcag22/understanding/concurrent-input-mechanisms.html

Large diffs are not rendered by default.

2,003 changes: 2,003 additions & 0 deletions wcag22/understanding/conformance.html

Large diffs are not rendered by default.

875 changes: 875 additions & 0 deletions wcag22/understanding/consistent-help.html

Large diffs are not rendered by default.

665 changes: 665 additions & 0 deletions wcag22/understanding/consistent-identification.html

Large diffs are not rendered by default.

638 changes: 638 additions & 0 deletions wcag22/understanding/consistent-navigation.html

Large diffs are not rendered by default.

880 changes: 880 additions & 0 deletions wcag22/understanding/content-on-hover-or-focus.html

Large diffs are not rendered by default.

1,362 changes: 1,362 additions & 0 deletions wcag22/understanding/contrast-enhanced.html

Large diffs are not rendered by default.

1,411 changes: 1,411 additions & 0 deletions wcag22/understanding/contrast-minimum.html

Large diffs are not rendered by default.

206 changes: 206 additions & 0 deletions wcag22/understanding/distinguishable.html

Large diffs are not rendered by default.

306 changes: 306 additions & 0 deletions wcag22/understanding/documenting-accessibility-support.html

Large diffs are not rendered by default.

626 changes: 626 additions & 0 deletions wcag22/understanding/dragging-movements.html

Large diffs are not rendered by default.

196 changes: 196 additions & 0 deletions wcag22/understanding/enough-time.html

Large diffs are not rendered by default.

768 changes: 768 additions & 0 deletions wcag22/understanding/error-identification.html

Large diffs are not rendered by default.

468 changes: 468 additions & 0 deletions wcag22/understanding/error-prevention-all.html

Large diffs are not rendered by default.

680 changes: 680 additions & 0 deletions wcag22/understanding/error-prevention-legal-financial-data.html

Large diffs are not rendered by default.

697 changes: 697 additions & 0 deletions wcag22/understanding/error-suggestion.html

Large diffs are not rendered by default.

553 changes: 553 additions & 0 deletions wcag22/understanding/extended-audio-description-prerecorded.html

Large diffs are not rendered by default.

1,718 changes: 1,718 additions & 0 deletions wcag22/understanding/focus-appearance.html

Large diffs are not rendered by default.

363 changes: 363 additions & 0 deletions wcag22/understanding/focus-not-obscured-enhanced.html

Large diffs are not rendered by default.

647 changes: 647 additions & 0 deletions wcag22/understanding/focus-not-obscured-minimum.html

Large diffs are not rendered by default.

768 changes: 768 additions & 0 deletions wcag22/understanding/focus-order.html

Large diffs are not rendered by default.

367 changes: 367 additions & 0 deletions wcag22/understanding/focus-visible.html

Large diffs are not rendered by default.

824 changes: 824 additions & 0 deletions wcag22/understanding/headings-and-labels.html

Large diffs are not rendered by default.

384 changes: 384 additions & 0 deletions wcag22/understanding/help.html

Large diffs are not rendered by default.

523 changes: 523 additions & 0 deletions wcag22/understanding/identify-input-purpose.html

Large diffs are not rendered by default.

556 changes: 556 additions & 0 deletions wcag22/understanding/identify-purpose.html

Large diffs are not rendered by default.

739 changes: 739 additions & 0 deletions wcag22/understanding/images-of-text-no-exception.html

Large diffs are not rendered by default.

792 changes: 792 additions & 0 deletions wcag22/understanding/images-of-text.html

Large diffs are not rendered by default.

Binary file added wcag22/understanding/img/button-background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/button-example2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/button-pointer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/buttons-text-symbols.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/checkbox-example1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/checkbox-example2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/checkbox-example3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/checkbox-example4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/checkbox-example5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/checkbox-purple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/checkbox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/contrast-gradient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/contrast-magnet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/contrast-phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wcag22/understanding/img/css-pixel-by-device.png
Binary file added wcag22/understanding/img/double-space.gif
Binary file added wcag22/understanding/img/dropdown.png
Binary file added wcag22/understanding/img/dropdown2.png
Binary file added wcag22/understanding/img/dynamic-pie-chart.png
Binary file added wcag22/understanding/img/first-button-example.png
37 changes: 37 additions & 0 deletions wcag22/understanding/img/focus-indicator-browser-defaults.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<title>Figure source: Focus Indicator Custom Shapes</title>
<style>
button {
box-sizing: border-box;
margin-top: 15px;
margin-bottom: 15px;
margin-left: 10px;
margin-right: 10px;
width: 90px;
height: 30px;
font-size: 12px;
}

.blue button {
border: 2px solid #48f;
}
</style>

<main>
<h1>Figure source: Focus Indicator Browser Defaults</h1>
<div>
<h2>Unmodified indicator background</h2>
<button>Example</button>
<button>Example</button>
<button>Example</button>
</div>
<div class="blue">
<h2>Blue indicator background</h2>
<button>Example</button>
<button>Example</button>
<button>Example</button>
</div>
</main>

</html>
71 changes: 71 additions & 0 deletions wcag22/understanding/img/focus-indicator-custom-shapes.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<!DOCTYPE html>
<html lang="en">
<title>Figure source: Focus Indicator Custom Shapes</title>
<style>
button {
background: #17569D;
border: none;
border-radius: 0;
box-shadow: none;
box-sizing: border-box;
color: #fff;
margin-top: 15px;
margin-bottom: 15px;
margin-left: 10px;
margin-right: 10px;
width: 90px;
height: 30px;
font-size: 12px;
}

button.focus-inset {
position:relative;
}
button.focus-inset::after {
--inset: 3px;
content: '';
position: absolute;
top: var(--inset);
right: var(--inset);
bottom: var(--inset);
left: var(--inset);
border: 3px solid yellow;
}

button.focus-side-highlights {
border: 1px solid #17569D;
position: relative;
}
button.focus-side-highlights::after {
--inset: 1px;
content: '';
position: absolute;
top: var(--inset);
right: var(--inset);
bottom: var(--inset);
left: var(--inset);
border-left: 10px solid yellow;
border-right: 10px solid yellow;
}
</style>

<main>
<h1>Figure source: Focus Indicator Custom Shapes</h1>
<p>All examples are 90px x 30px buttons, so have 480px<sup>2</sup> minimum indicator area.</p>
<div>
<h2>Passes: 3px inset, 3px thick</h2>
<p>Indicator area = (84 * 24) - (78 * 18) = 612px<sup>2</sup> > 480px<sup>2</sup></p>
<button>Example</button>
<button class="focus-inset">Example</button>
<button>Example</button>
</div>
<div>
<h2>Passes: 2 28px x 9px rectangles</h2>
<p>Indicator area = 2 * 28 * 9 = 504px<sup>2</sup> > 480px<sup>2</sup></p>
<button>Example</button>
<button class="focus-side-highlights">Example</button>
<button>Example</button>
</div>
</main>

</html>
1 change: 1 addition & 0 deletions wcag22/understanding/img/focus-indicator-group-outline.svg
Binary file added wcag22/understanding/img/focus-indicator-icon.png
47 changes: 47 additions & 0 deletions wcag22/understanding/img/focus-indicator-non-text-contrast.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en">
<title>Figure source: Focus Indicator Custom Shapes</title>
<style>
button {
background: #AECFF4;
border: 3px solid black;
border-radius: 4px;
box-shadow: none;
box-sizing: border-box;
color: #000;
margin-top: 15px;
margin-bottom: 15px;
margin-left: 10px;
margin-right: 10px;
width: 90px;
height: 30px;
font-size: 12px;
}

button.focus-low-change-contrast {
/* > 3:1 with button bg and page bg, < 3:1 with unfocused button border */
border-color: #666;
}
button.focus-low-adjacent-contrast {
/* < 3:1 with button bg and page bg, > 3:1 with unfocused button border */
border-color: #ccc;
}
</style>

<main>
<h1>Figure source: Focus Indicator Relationship with Non-text Contrast</h1>
<div>
<h2>Passes Focus Appearance, fails Non-text Contrast</h2>
<button>Example</button>
<button class="focus-low-adjacent-contrast">Example</button>
<button>Example</button>
</div>
<div>
<h2>Passes Non-text Contrast, fails Focus Appearance</h2>
<button>Example</button>
<button class="focus-low-change-contrast">Example</button>
<button>Example</button>
</div>
</main>

</html>
91 changes: 91 additions & 0 deletions wcag22/understanding/img/focus-indicator-offset-types.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<!DOCTYPE html>
<html lang="en">
<title>Figure source: Focus Indicator Offset Types</title>
<style>
:root {
/*
For figure accuracy:
- indicator-fg must meet 3:1 with page-bg, button-bg, and button-border-fg
- indicator-thickness must be exactly 2px
- indicator-style must be solid

For figure clarity:
- button-border-fg should meet 4.5:1 with page-bg and button-bg
- indicator-fg should meet 4.5:1 with page-bg, button-bg, and button-border-fg
*/
--indicator-offset: 3px;
--indicator-thickness: 2px;
--indicator-style: solid;

--indicator-fg: #000;
--page-bg: #fff;
--button-bg: #cce;
--button-fg: #000;
--button-border-fg: #77a;

--button-border-radius: 10px;
}
button {
background: var(--button-bg);;
border: solid 2px var(--button-border-fg);
border-radius: var(--button-border-radius);
box-shadow: none;
box-sizing: border-box;
color: var(--button-fg);
margin-top: 15px;
margin-bottom: 15px;
margin-left: 10px;
margin-right: 10px;
outline: none;
width: 150px;
height: 50px;
font-size: 24px;
}
.button-container {
display: flex;
width: 100%;
justify-content: center
}

.outset {
outline-offset: var(--indicator-offset);
outline: var(--indicator-thickness) var(--indicator-style) var(--indicator-fg);
}

.outline {
outline: var(--indicator-thickness) var(--indicator-style) var(--indicator-fg);
}

.border {
border: var(--indicator-thickness) var(--indicator-style) var(--indicator-fg);
}

.inset {
position:relative;
}
.inset::after {
content: '';
position: absolute;
top: var(--indicator-offset);
right: var(--indicator-offset);
bottom: var(--indicator-offset);
left: var(--indicator-offset);
border: var(--indicator-thickness) var(--indicator-style) var(--indicator-fg);
border-radius: calc(var(--button-border-radius) - var(--indicator-offset));
}
</style>

<main>
<h1>Figure source: Focus Indicator Offset Types</h1>
<div class="button-container">
<button>Unfocused</button>
</div>
<div class="button-container">
<button class="outset">Outset</button>
<button class="outline">Outline</button>
<button class="border">Border</button>
<button class="inset">Inset</button>
</div>
</main>

</html>
1 change: 1 addition & 0 deletions wcag22/understanding/img/focus-indicator-solid-border.svg
1 change: 1 addition & 0 deletions wcag22/understanding/img/focus-indicator-solid-outline.svg
46 changes: 46 additions & 0 deletions wcag22/understanding/img/focus-indicator-two-color.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<html lang="en">
<title>Figure source: Focus Indicator Two Color</title>
<style>
button {
background: #17569D;
border: none;
border-radius: 0;
box-shadow: none;
box-sizing: border-box;
color: #fff;
margin-top: 15px;
margin-bottom: 15px;
margin-left: 10px;
margin-right: 10px;
width: 150px;
height: 50px;
font-size: 24px;
}
button.focus-thick {
outline: solid 2px black;
outline-offset: 2px;
box-shadow: 0 0 0 2px #aaa;
}
button.focus-thin {
outline: solid 1px black;
outline-offset: 1px;
box-shadow: 0 0 0 1px #aaa;
}
</style>

<main>
<h1>Figure source: Focus Indicator Two Color</h1>
<div>
<h2>Passes: the 2px thick black line passes</h2>
<button>Example</button>
<button class="focus-thick">Example</button>
</div>
<div>
<h2>Fails: the indicator is 2px thick, but the part of the indicator meeting change contrast is only 1px thick</h2>
<button>Example</button>
<button class="focus-thin">Example</button>
</div>
</main>

</html>
Loading

0 comments on commit 2fdc741

Please sign in to comment.