Closed nishimotz closed 3 years ago
ご指摘ありがとうございます。調べてみます。
@nishimotz ご指摘ありがとうございました。 axe-test.js の中で、テスト結果を日本語で出力するためのロケールのパスを修正しました。 https://github.com/caztcha/axe-test/commit/02069e81cb13eaacbef1329d540dbc9aed719351
原因としては、@axe-core/puppeteer をインストールした際の locale フォルダの格納先が一時的に変わっていたようで、最終的には「@axe-core」ディレクトリ以下ではなく「axe-core」以下になっています。この変更に、axe-test.js 側が追いついていなかったため、不具合が発生していたと思われます。
もしよろしければ、今回修正した axe-test.js にて、試していただけますと幸いです。 (こちらでも、Mac と Windows10 で動作を確認済ですが、もし何かお気づきの点ありましたら、教えていただけますと幸いです。)
環境を作り直して動作を確認できました。ありがとうございました。
GAAD Japan の懇親会でも出た話題ですが、私も環境構築すると下記のようなエラーが出ました。
下記のようにすると期待通りに動作しました。
axe-test.js の下記を変更
以下、こちらの環境です。
Windows 10 (20H2) WSL2 (Ubuntu 18.04.1 LTS)