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();