Skip to content

Commit

Permalink
Removed ambiguity for "Passed Example 2" of "HTML page has non-empty …
Browse files Browse the repository at this point in the history
…title" (#2181)

Co-authored-by: Jean-Yves Moyen <[email protected]>
Co-authored-by: Wilco Fiers <[email protected]>
  • Loading branch information
3 people authored Aug 30, 2024
1 parent b4663d2 commit b379b0c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions _rules/html-page-non-empty-title-2779a5.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,16 @@ This page has a `title` element with content.

#### Passed Example 2

This page has a `title` element that serves as the title for the page and the `iframe` since the `iframe` does not have its own.
This page has a `title` element that serves as the title for the page. This rule doesn't take into account HTML pages embedded into the target document.

```html
<html>
<title>This page gives a title to an iframe</title>
<iframe src="/test-assets/sc2-4-2-title-page-without-title.html"></iframe>
<head>
<title>This page gives a title to an iframe</title>
</head>
<body>
<iframe src="/test-assets/sc2-4-2-title-page-without-title.html"></iframe>
</body>
</html>
```

Expand Down

0 comments on commit b379b0c

Please sign in to comment.