From 8d8f0169dbaaa28143cf936cba3046c6e53fa134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Ren=C3=A9e=20Beach?= Date: Sat, 24 Jun 2023 16:16:17 -0700 Subject: [PATCH 1/3] [Fix] pin `aria-query` and `axe-core` to fix failing tests on main For `axe-core`, see https://github.com/dequelabs/axe-core/issues/4127 --- __mocks__/genInteractives.js | 1 - .../no-interactive-element-to-noninteractive-role-test.js | 1 - __tests__/src/rules/no-static-element-interactions-test.js | 2 +- package.json | 4 ++-- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/__mocks__/genInteractives.js b/__mocks__/genInteractives.js index 11f32ec9b..68b239260 100644 --- a/__mocks__/genInteractives.js +++ b/__mocks__/genInteractives.js @@ -49,7 +49,6 @@ const interactiveElementsMap = { menuitem: [], option: [], select: [], - summary: [], // Whereas ARIA makes a distinction between cell and gridcell, the AXObject // treats them both as CellRole and since gridcell is interactive, we consider // cell interactive as well. diff --git a/__tests__/src/rules/no-interactive-element-to-noninteractive-role-test.js b/__tests__/src/rules/no-interactive-element-to-noninteractive-role-test.js index 393987b02..7f8a61b6e 100644 --- a/__tests__/src/rules/no-interactive-element-to-noninteractive-role-test.js +++ b/__tests__/src/rules/no-interactive-element-to-noninteractive-role-test.js @@ -369,7 +369,6 @@ const neverValid = [ { code: ';', errors: [expectedError] }, { code: '