Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML page has non-empty title - #2779a5: updated Passed Example 2 description #2181

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading