diff --git a/Gemfile b/Gemfile index a4c8e59fc..ad443df45 100644 --- a/Gemfile +++ b/Gemfile @@ -176,6 +176,9 @@ group :test do gem "webmock" # FIXME: stop using `mock_model` and remove this gem "rspec-activemodel-mocks" + # For automated accessibility testing + gem "axe-core-capybara" + gem "axe-core-rspec" end group :development do diff --git a/Gemfile.lock b/Gemfile.lock index 31baba7ce..4527ee715 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -111,6 +111,20 @@ GEM aws-sigv4 (~> 1.6) aws-sigv4 (1.6.0) aws-eventstream (~> 1, >= 1.0.2) + axe-core-api (4.8.0) + dumb_delegator + virtus + axe-core-capybara (4.8.0) + axe-core-api + dumb_delegator + axe-core-rspec (4.8.0) + axe-core-api + dumb_delegator + virtus + axiom-types (0.1.1) + descendants_tracker (~> 0.0.4) + ice_nine (~> 0.11.0) + thread_safe (~> 0.3, >= 0.3.1) base64 (0.1.1) bcrypt (3.1.19) better_errors (2.10.1) @@ -165,6 +179,8 @@ GEM xpath (~> 3.2) chunky_png (1.4.0) coderay (1.1.3) + coercible (1.0.0) + descendants_tracker (~> 0.0.1) colorize (1.1.0) compass (1.0.3) chunky_png (~> 1.2) @@ -196,6 +212,8 @@ GEM date (3.3.3) dbf (4.2.4) debug_inspector (1.1.0) + descendants_tracker (0.0.4) + thread_safe (~> 0.3, >= 0.3.1) devise (4.9.2) bcrypt (~> 3.0) orm_adapter (~> 0.1) @@ -210,6 +228,7 @@ GEM dotenv-rails (2.8.1) dotenv (= 2.8.1) railties (>= 3.2) + dumb_delegator (1.0.0) elasticsearch (7.17.7) elasticsearch-api (= 7.17.7) elasticsearch-transport (= 7.17.7) @@ -335,6 +354,7 @@ GEM multi_xml (>= 0.5.2) i18n (1.14.1) concurrent-ruby (~> 1.0) + ice_nine (0.11.2) jb (0.8.0) jmespath (1.6.2) jquery-rails (4.6.0) @@ -670,6 +690,7 @@ GEM terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) thor (1.2.2) + thread_safe (0.3.6) tilt (2.2.0) timecop (0.9.8) timeout (0.4.0) @@ -696,6 +717,10 @@ GEM activesupport (>= 5.2.0, < 8.0) concurrent-ruby (~> 1.0) method_source (~> 1.0) + virtus (2.0.0) + axiom-types (~> 0.1) + coercible (~> 1.0) + descendants_tracker (~> 0.0, >= 0.0.3) warden (1.2.9) rack (>= 2.0.9) webdrivers (5.3.1) @@ -736,6 +761,8 @@ DEPENDENCIES atdis autoprefixer-rails aws-sdk-s3 (~> 1) + axe-core-capybara + axe-core-rspec better_errors binding_of_caller bootsnap