From 61e17f29f5d09408a0429016f4cb04c21bc99d83 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Fri, 24 Jun 2022 10:59:27 +0200 Subject: [PATCH] test: update a11y test expectations --- test/src/accessibility.spec.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/src/accessibility.spec.ts b/test/src/accessibility.spec.ts index 3a4c63af447b4..fe066e9d01beb 100644 --- a/test/src/accessibility.spec.ts +++ b/test/src/accessibility.spec.ts @@ -314,6 +314,7 @@ describeFailsFirefox('Accessibility', function () {
Edit this image: my fake image
`); + // Image node should not be exposed in contenteditable elements. See https://crbug.com/1324392. const golden = isFirefox ? { role: 'entry', @@ -336,10 +337,6 @@ describeFailsFirefox('Accessibility', function () { role: 'StaticText', name: 'Edit this image:', }, - { - role: 'img', - name: 'my fake image', - }, ], }; const snapshot = await page.accessibility.snapshot();