Skip to content

Commit

Permalink
Add test for x-021, fix test for x-001
Browse files Browse the repository at this point in the history
  • Loading branch information
acabal committed Jul 10, 2024
1 parent e322aa0 commit 4ea1530
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/lint/xhtml/x-001/golden/x-001-out.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
x-001 [Error] chapter-1.xhtml String `UTF-8` must always be lowercase.
File renamed without changes.
12 changes: 12 additions & 0 deletions tests/lint/xhtml/x-021/golden/x-021-out.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
x-021 [Error] chapter-1.xhtml `<figure>` element with no `id` attribute.
<figure>
<img alt="A portrait illustration of a young woman."
src="test.png" epub:type="z3998:illustration
se:image.color-depth.black-on-transparent se:image.style.realistic"/>
</figure>
m-028 [Error] content.opf Images found in ebook, but no `schema:accessMode`
property set to `visual` in metadata.
m-029 [Error] content.opf Images found in ebook, but no
`schema:accessibilityFeature` property set to `alternativeText` in metadata.
m-040 [Error] content.opf Images found in ebook, but no `role` property set to
`wat` in metadata for the writer of the alt text.
File renamed without changes.

0 comments on commit 4ea1530

Please sign in to comment.