Skip to content

Commit

Permalink
add a extra test for image-alt
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed Jun 26, 2024
1 parent a00c1cb commit 9d1b32c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/image-alt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ const passes = [
`<img src="img.jpg" role="none" />`,
`<img src="img.jpg" role="button" aria-label="foo" />`,
`<img src="img.jpg" role="checkbox" title="bar" />`,
`<div>
<a href="https://www.w3.org/WAI">
<img src="/test-assets/shared/w3c-logo.png" aria-labelledby="id1" />
</a>
<div id="id1">Web Accessibility Initiative (WAI)</div>
</div>`,
// await fixture(html`<img src="img.jpg" id="inapplicable1" role="separator" />`),
];

Expand Down

0 comments on commit 9d1b32c

Please sign in to comment.