Skip to content

Commit

Permalink
test: add/clean some ARIA role tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rdeltour committed Dec 27, 2024
1 parent a4f00c1 commit ad0f7e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,6 @@ Feature: EPUB 3 — Content Documents — XHTML
Then error RSC-005 is reported
And the message contains 'attribute "aria-describedat" not allowed here'
And no other errors or warnings are reported

Scenario: Verify the DPUB-ARIA roles allowed on `a`
When checking document 'aria-roles-img-valid.xhtml'
Then no errors or warnings are reported

Scenario: Verify the DPUB-ARIA roles allowed on `aside`
When checking document 'aria-roles-img-valid.xhtml'
Then no errors or warnings are reported

Scenario: Verify the DPUB-ARIA roles allowed on `footer`
When checking document 'aria-roles-footer-valid.xhtml'
Expand All @@ -162,10 +154,6 @@ Feature: EPUB 3 — Content Documents — XHTML
When checking document 'aria-roles-header-valid.xhtml'
Then no errors or warnings are reported

Scenario: Verify the DPUB-ARIA roles allowed on `hr`
When checking document 'aria-roles-header-valid.xhtml'
Then no errors or warnings are reported

Scenario: Verify the DPUB-ARIA roles allowed on `img`
When checking document 'aria-roles-img-valid.xhtml'
Then no errors or warnings are reported
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<title>DPUB-ARIA roles allowed on img</title>
</head>
<body>
<img role="doc-cover" src="test.jpg" alt="okay"/>
<img role="doc-cover" src="cover.jpg" alt="cover"/>
<img role="math" src="math.jpg" alt="math"/>
</body>
</html>

0 comments on commit ad0f7e3

Please sign in to comment.