Skip to content

Commit 924cdd3

Browse files
committed
2021年6月1日時点の社内版を反映、Ver. 202106.0.
1 parent 9efbab9 commit 924cdd3

15 files changed

Lines changed: 1208 additions & 796 deletions

package-lock.json

Lines changed: 1065 additions & 659 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dependencies": {
77
"@textlint-ja/textlint-rule-no-synonyms": "^1.1.0",
88
"sudachi-synonyms-dictionary": "^4.1.0",
9-
"textlint": "^11.8.1",
9+
"textlint": "^12.0.0",
1010
"textlint-filter-rule-whitelist": "^2.0.0",
1111
"textlint-plugin-rst": "^0.1.1",
1212
"textlint-rule-ja-hiragana-fukushi": "^1.3.0",

source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
project = 'freeeアクセシビリティー・ガイドライン'
2121
copyright = '2020-2021, freee株式会社'
2222
author = 'freee株式会社'
23-
version = 'Ver. 202105.0'
23+
version = 'Ver. 202106.0'
2424
release = version
25-
publishedDate = u'2021年5月6日'
25+
publishedDate = u'2021年6月1日'
2626

2727
if 'internal' in tags:
2828
publishedDate = datetime.datetime.now().strftime("%Y-%m-%d")

source/explanations/check-contrast.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@
1616
Google Chromeの場合、開発者ツールの Audits タブに Lighthouse が搭載されていますが、これで採点できるもののうち、 Accessbility については axe DevToolsが使用されています。
1717
また、 `axe DevToolsのGoogle Chrome 拡張 <https://chrome.google.com/webstore/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd>`_ を使用すると、結果を日本語で読むこともできます。
1818

19+
コントラスト比の自動判定ができない場合
20+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21+
22+
画像の中の文字など、これらのチェック・ツールではコントラスト比を正しく判定できない場合があります。
23+
24+
axe DevToolsのGoogle Chrome拡張の場合、コントラスト比の判定ができない場合も「要素には十分な色のコントラストがなければなりません」のような、コントラスト比が不充分な場合と同じメッセージが表示されます。
25+
しかし自動判定ができない場合は、詳細パネルに「This potential issue needs your review... コントラスト比を判定できません」といったメッセージが表示されます。
26+
27+
このような場合は、当該箇所のカラー・コードを調べて、以下に示すツールを使ってコントラスト比を確認します。
28+
1929

2030
コントラスト比の計算ツールの使用
2131
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

source/explanations/grayscale.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,10 @@
2121
2222
javascript:(function(){var d=document;s=d.createElement("style");s.innerHTML="*{filter:grayscale(100%) !important}";d.body.appendChild(s)})()
2323
24-
.. only:: html
25-
26-
.. raw:: html
27-
28-
</details>
29-
<a href='javascript:(function(){var d=document;s=d.createElement("style");s.innerHTML="*{filter:grayscale(100%) !important}";d.body.appendChild(s)})();'>表示中のページをグレースケール表示にするブックマークレット</a>
24+
.. raw:: html
3025

26+
</details>
27+
<a href='javascript:(function(){var d=document;s=d.createElement("style");s.innerHTML="*{filter:grayscale(100%) !important}";d.body.appendChild(s)})();'>表示中のページをグレースケール表示にするブックマークレット</a>
3128

3229
#. チェック対象のページを表示した状態で、このブックマークレットを実行。
3330

source/explanations/magnification.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@
3030
3131
javascript:window.open(location.href,'a11ytest_1280x1024','width=1280,height=1024')
3232
33-
.. only:: html
34-
35-
.. raw:: html
33+
.. raw:: html
3634

37-
</details>
38-
<a href="javascript:window.open(location.href,'a11ytest_1280x1024','width=1280,height=1024')">ウィンドウ・サイズを1280x1024にするブックマークレット</a>
35+
</details>
36+
<a href="javascript:window.open(location.href,'a11ytest_1280x1024','width=1280,height=1024')">ウィンドウ・サイズを1280x1024にするブックマークレット</a>
3937

4038
#. チェック対象のページを表示した状態で、このブックマークレットを実行。
4139

source/explanations/nu-html-checker.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ The Nu Html Checkerを用いたHTMLのバリデーション
2828
2929
javascript:(function(){function c(a,b){var c=document.createElement("textarea");c.name=a;c.value=b;d.appendChild(c)}var e=function(a){for(var b="",a=a.firstChild;a;){switch(a.nodeType){case Node.ELEMENT_NODE:b+=a.outerHTML;break;case Node.TEXT_NODE:b+=a.nodeValue;break;case Node.CDATA_SECTION_NODE:b+="<![CDATA["+a.nodeValue+"]]\>";break;case Node.COMMENT_NODE:b+="<\!--"+a.nodeValue+"--\>";break;case Node.DOCUMENT_TYPE_NODE:b+="<!DOCTYPE "+a.name+">\n"}a=a.nextSibling}return b}(document),d=document.createElement("form");d.method="POST";d.action="https://validator.w3.org/nu/";d.enctype="multipart/form-data";d.target="_blank";d.acceptCharset="utf-8";c("showsource","yes");c("content",e);document.body.appendChild(d);d.submit()})();
3030
31-
.. only:: html
3231
33-
.. raw:: html
34-
35-
</details>
36-
<a href='javascript:(function(){function c(a,b){var c=document.createElement("textarea");c.name=a;c.value=b;d.appendChild(c)}var e=function(a){for(var b="",a=a.firstChild;a;){switch(a.nodeType){case Node.ELEMENT_NODE:b+=a.outerHTML;break;case Node.TEXT_NODE:b+=a.nodeValue;break;case Node.CDATA_SECTION_NODE:b+="<![CDATA["+a.nodeValue+"]]\>";break;case Node.COMMENT_NODE:b+="<\!--"+a.nodeValue+"--\>";break;case Node.DOCUMENT_TYPE_NODE:b+="<!DOCTYPE "+a.name+">\n"}a=a.nextSibling}return b}(document),d=document.createElement("form");d.method="POST";d.action="https://validator.w3.org/nu/";d.enctype="multipart/form-data";d.target="_blank";d.acceptCharset="utf-8";c("showsource","yes");c("content",e);document.body.appendChild(d);d.submit()})();'>表示中のページを https://validator.w3.org/nu/ に送信するブックマークレット</a>
32+
.. raw:: html
3733

34+
</details>
35+
<a href='javascript:(function(){function c(a,b){var c=document.createElement("textarea");c.name=a;c.value=b;d.appendChild(c)}var e=function(a){for(var b="",a=a.firstChild;a;){switch(a.nodeType){case Node.ELEMENT_NODE:b+=a.outerHTML;break;case Node.TEXT_NODE:b+=a.nodeValue;break;case Node.CDATA_SECTION_NODE:b+="<![CDATA["+a.nodeValue+"]]\>";break;case Node.COMMENT_NODE:b+="<\!--"+a.nodeValue+"--\>";break;case Node.DOCUMENT_TYPE_NODE:b+="<!DOCTYPE "+a.name+">\n"}a=a.nextSibling}return b}(document),d=document.createElement("form");d.method="POST";d.action="https://validator.w3.org/nu/";d.enctype="multipart/form-data";d.target="_blank";d.acceptCharset="utf-8";c("showsource","yes");c("content",e);document.body.appendChild(d);d.submit()})();'>表示中のページを https://validator.w3.org/nu/ に送信するブックマークレット</a>
3836

3937
#. チェック対象のページを表示した状態で、このブックマークレットを実行。
4038

source/explanations/screen-reader-check.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ JAWSでは、「仮想PCカーソル」がブラウズ・モード、「フォ
209209
``````````````````````````
210210

211211
ここまでで紹介したキー操作などはごく一部のものですが、NVDA日本語チームが公開している `NVDAチートシート <https://github.com/nvdajp/cheatsheet>`_ には、他のキー操作も含めてまとめられています。
212-
GitHub上では、 `pptx版 <https://github.com/nvdajp/cheatsheet/blob/master/nvdacheet.pptx>`_ と `PDF版 <https://github.com/nvdajp/cheatsheet/blob/master/nvdacheet.pdf>`_ が公開されていますが、以下これを画像化したものを掲載します。
212+
GitHub上では、 `pptx版 <https://github.com/nvdajp/cheatsheet/blob/master/nvdacheat.pptx>`_ と `PDF版 <https://github.com/nvdajp/cheatsheet/blob/master/nvdacheat.pdf>`_ が公開されていますが、以下これを画像化したものを掲載します。
213213

214-
.. image:: /img/nvdacheet.png
214+
.. image:: /img/nvdacheat.png
215215
:alt: 画像化したNVDAチートシート
216216

217217
NVDAの更新

source/explanations/tab-order-check.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,10 @@ Tab/Shift+Tabキーを用いたチェックは、以下を確認するために
5151
5252
javascript:(function(){var s=document.createElement('style');s.innerText="*{cursor:none !important;pointer-events:none !important}*:focus{cursor: none !important;pointer-events:none !important}";document.head.appendChild(s)})()
5353
54-
.. only:: html
55-
56-
.. raw:: html
54+
.. raw:: html
5755

58-
</details>
59-
<a href="javascript:(function(){var s=document.createElement('style');s.innerText='*{cursor:none !important;pointer-events:none !important}*:focus{cursor: none !important;pointer-events:none !important}';document.head.appendChild(s)})()">マウス・ポインターを非表示にするブックマークレット</a>
56+
</details>
57+
<a href="javascript:(function(){var s=document.createElement('style');s.innerText='*{cursor:none !important;pointer-events:none !important}*:focus{cursor: none !important;pointer-events:none !important}';document.head.appendChild(s)})()">マウス・ポインターを非表示にするブックマークレット</a>
6058

6159
#. チェック対象のページを表示した状態で、このブックマークレットを実行。
6260

source/explanations/target-size.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@
3030
3131
javascript:(function(){var d = document,e=d.createElement('div'),g=d.createElement('div'),w=window;d.body.appendChild(e);e.appendChild(g);e.setAttribute('style','position:absolute;top:0;left:0;z-index:2147483647;box-sizing:border-box;width:44px;height:44px;border:1px solid #f00;background:#fff;opacity:0.5;transform: translate(-50%,-50%);pointer-events:none;');g.setAttribute('style','position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-sizing:border-box;width:24px;height:24px;border:1px solid #00f;');w.onmousemove=(function(v){e.style.left=w.scrollX+v.clientX+'px';e.style.top=w.scrollY+v.clientY+'px'})})()
3232
33-
.. only:: html
34-
35-
.. raw:: html
33+
.. raw:: html
3634

37-
</details>
38-
<a href="javascript:(function(){var d = document,e=d.createElement('div'),g=d.createElement('div'),w=window;d.body.appendChild(e);e.appendChild(g);e.setAttribute('style','position:absolute;top:0;left:0;z-index:2147483647;box-sizing:border-box;width:44px;height:44px;border:1px solid #f00;background:#fff;opacity:0.5;transform: translate(-50%,-50%);pointer-events:none;');g.setAttribute('style','position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-sizing:border-box;width:24px;height:24px;border:1px solid #00f;');w.onmousemove=(function(v){e.style.left=w.scrollX+v.clientX+'px';e.style.top=w.scrollY+v.clientY+'px'})})()">44x44 pxの4角形を表示するブックマークレット</a>
35+
</details>
36+
<a href="javascript:(function(){var d = document,e=d.createElement('div'),g=d.createElement('div'),w=window;d.body.appendChild(e);e.appendChild(g);e.setAttribute('style','position:absolute;top:0;left:0;z-index:2147483647;box-sizing:border-box;width:44px;height:44px;border:1px solid #f00;background:#fff;opacity:0.5;transform: translate(-50%,-50%);pointer-events:none;');g.setAttribute('style','position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-sizing:border-box;width:24px;height:24px;border:1px solid #00f;');w.onmousemove=(function(v){e.style.left=w.scrollX+v.clientX+'px';e.style.top=w.scrollY+v.clientY+'px'})})()">44x44 pxの4角形を表示するブックマークレット</a>
3937

4038
#. チェック対象のページを表示した状態で、このブックマークレットを実行。
4139

0 commit comments

Comments
 (0)