Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mraccess77 committed Aug 5, 2024
1 parent 7d1fd65 commit da308e3
Show file tree
Hide file tree
Showing 8 changed files with 90 additions and 0 deletions.
16 changes: 16 additions & 0 deletions examples/Fails/Anchor with no href and only tabindex.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Anchor with no href and tabindex</title>
</head>
<body>
<main>
<h1>Anchor with no href and tabindex</h1>
<a href="http://www.google.com">Google</a>
<a tabindex="0">Faux</a>
<a>Foo</a>
<a href="http://www.adobe.com">Adobe</a>
</main>
</body>

</html>
17 changes: 17 additions & 0 deletions examples/Fails/aria-level on role listitem.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>aria-Level on role listitem and li element Example</title>
</head>
<body>
<h1>List of Fruits</h1>
<ul>
<li aria-level="1">Apple</li>
<li aria-level="2">Banana</li>
<span role="listitem" aria-level="3">Cherry</span>
<span role="listitem" aria-level="4">Durian</span>
</ul>
</body>
</html>
Binary file added examples/Fails/html/colors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions examples/Fails/html/no h1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<title>This is the title</title>
</head>
<body>
<div> This is text.</div>
</body>
</html>
19 changes: 19 additions & 0 deletions examples/Fails/img no alt.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Img with no alt</title>
<style>
.hide {
display:none;
}
</style>
</head>
<body>
<main>
<h1>Img with no alt</h1>
<img src="test.png">
<img src="test2.png" class="hide">
<img src="test3.png" aria-hidden="true">
</main>
</body>
</html>
Binary file not shown.
12 changes: 12 additions & 0 deletions examples/Fails/sus..html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE>
<html lang="en">
<head>
<title>Role button with suspicous accessible name</title>
</head>
<body>
<main>
<h1>Role button with suspicous accessible name</h1>
<div role="button"> Ok </div>
</main>
</body>
</html>
18 changes: 18 additions & 0 deletions examples/HTML attributes/Inert2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Inert exampe</title>
</head>
<body>

<main>
<h1>insrt</h1>
<div inert>This is inert</div>
<div role="dialog">
This is some text.
<button>Ok</button>
</div>
<div inert>This is inert</div>
</main>
</body>
</html>

0 comments on commit da308e3

Please sign in to comment.