Skip to content

Commit

Permalink
update the code #1676
Browse files Browse the repository at this point in the history
  • Loading branch information
shunguoy committed Oct 11, 2023
1 parent 3c79630 commit 27465ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export let element_tabbable_unobscured: Rule = {
elems.forEach(elem => {
/**
* the nodes returned from querySelectorAll is in document order
* if z-index is not defined, then the node rendered next will overlay the node previously
* if two elements overlap and z-index are not defined, then the node rendered earlier will be overlaid by the node rendered later
*/
if (ruleContext.contains(elem)) {
//the next node in elems will be after the target node (ruleContext).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<body>
<div class="fixed-position-banner">
<h2>Fixed-Position Banner</h2>
<button style='margin-top:15px;' type="button"> <span style='color:red;'>Close</span></button>
<button style='margin-top:30px;' type="button"> <span style='color:red;'>Close</span></button>
</div>

<div class="wrapper">
Expand Down Expand Up @@ -134,7 +134,7 @@ <h2>Footer Content</h2>
</footer>
</div>

<script>
<!--script>
UnitTest = {
ruleIds: ["element_tabbable_unobscured"],
results: [
Expand Down Expand Up @@ -236,7 +236,7 @@ <h2>Footer Content</h2>
}
]
}
</script>
</script-->
</body>
</html>

0 comments on commit 27465ea

Please sign in to comment.