From 774cabfac36cc7cac391db9bf534f73da6814728 Mon Sep 17 00:00:00 2001 From: Tim Donohue Date: Fri, 1 May 2026 11:53:44 -0500 Subject: [PATCH] Disable "aria-required-children" accessibility check on the Item Edit page. This check is returning false failures more frequently. (cherry picked from commit ac334549f81d1ff2b66c1b24bc1716df152bc0c3) --- cypress/e2e/item-edit.cy.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/item-edit.cy.ts b/cypress/e2e/item-edit.cy.ts index fcddecf3146..4deab547a02 100644 --- a/cypress/e2e/item-edit.cy.ts +++ b/cypress/e2e/item-edit.cy.ts @@ -34,7 +34,16 @@ describe('Edit Item > Edit Metadata tab', () => { }); // Analyze for accessibility issues - testA11y('ds-edit-item-page'); + testA11y('ds-edit-item-page', + { + rules: { + // Disable flakey "aria-required-children" test. While this test passes when run locally, + // in GitHub CI it will return random failures roughly 1/3 of the time saying that the + // "tablist" doesn't contain required "tab" elements, even though they do exist. + 'aria-required-children': { enabled: false }, + }, + } as Options, + ); }); });