-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow
doc-endnote
on li
children of ol
Fix #1041
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
src/test/resources/30/single/xhtml/valid/aria-role-doc-endnote.xhtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | ||
<head> | ||
<title>Test</title> | ||
<meta charset="UTF-8"/> | ||
</head> | ||
<body> | ||
<h1>Test</h1> | ||
<section role="doc-endnotes"> | ||
<h2>Notes</h2> | ||
<ol> | ||
<li role="doc-endnote">…</li> | ||
</ol> | ||
</section> | ||
<section role="doc-endnotes"> | ||
<h2>Notes</h2> | ||
<ul> | ||
<li role="doc-endnote">…</li> | ||
</ul> | ||
</section> | ||
</body> | ||
</html> |