Skip to content

Commit

Permalink
test: update a11y test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Jun 24, 2022
1 parent 02fbd6f commit 6b33452
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/src/accessibility.spec.ts
Expand Up @@ -314,6 +314,7 @@ describeFailsFirefox('Accessibility', function () {
<div contenteditable="true" role='textbox'>
Edit this image: <img src="fakeimage.png" alt="my fake image">
</div>`);
// Image node should not be exposed in contenteditable elements. See https://crbug.com/1324392.
const golden = isFirefox
? {
role: 'entry',
Expand All @@ -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();
Expand Down

0 comments on commit 6b33452

Please sign in to comment.