From b4e4ff3028105a7f055837e377e817e4759dd347 Mon Sep 17 00:00:00 2001 From: Casey Oppenheim Date: Thu, 2 Jul 2020 14:42:18 -0400 Subject: [PATCH 1/4] modifications to extension ffor 3 a11y tests --- .eslintrc.js | 3 ++- .../TutorialVideoView/TutorialVideoView.jsx | 1 + .../components/BuildingBlocks/ToggleSlider.jsx | 3 ++- app/panel/components/CreateAccount.jsx | 3 ++- .../SteppedNavigation/SteppedNavigation.jsx | 14 +++++++++++++- .../SteppedNavigation/SteppedNavigation.scss | 3 +++ 6 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 5417bdc63..b21bf9ce1 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -11,6 +11,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + module.exports = { env: { browser: true, @@ -111,6 +112,6 @@ module.exports = { 'jsx-a11y/no-static-element-interactions': [0], 'jsx-a11y/label-has-associated-control': [0], //ToDo: enable this check. Throws 2 errors, should work. 'jsx-a11y/media-has-caption': [0], //ToDo: enable this check. Need Captions to enable. - 'jsx-a11y/anchor-has-content': [0], //ToDo: enable this check. Need anchor text to enable. + 'jsx-a11y/anchor-has-content': [1], //ToDo: enable this check. Need anchor text to enable. }, }; diff --git a/app/hub/Views/TutorialViews/TutorialVideoView/TutorialVideoView.jsx b/app/hub/Views/TutorialViews/TutorialVideoView/TutorialVideoView.jsx index 954fc51fc..27fe4443c 100644 --- a/app/hub/Views/TutorialViews/TutorialVideoView/TutorialVideoView.jsx +++ b/app/hub/Views/TutorialViews/TutorialVideoView/TutorialVideoView.jsx @@ -35,6 +35,7 @@ const TutorialVideoView = () => ( +
diff --git a/app/panel/components/BuildingBlocks/ToggleSlider.jsx b/app/panel/components/BuildingBlocks/ToggleSlider.jsx index ccc6a42d3..acc28b88f 100644 --- a/app/panel/components/BuildingBlocks/ToggleSlider.jsx +++ b/app/panel/components/BuildingBlocks/ToggleSlider.jsx @@ -69,8 +69,9 @@ class ToggleSlider extends React.Component { }); return (
-