Skip to content

Commit 0da2c23

Browse files
authored
Docs: Add missing rule from 'all rules' page (#1634)
`frame-title-require` was missing. Thanks for spotting @Spixmaster !
1 parent 405cc7c commit 0da2c23

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

website/src/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ hero:
1414
variant: minimal
1515
banner:
1616
content: |
17-
v1.4.0 is now available! Check the <a href="/changelog/">changelog</a> to see what's new.
17+
v1.5.0 is now available! Check the <a href="/changelog/">changelog</a> to see what's new.
1818
tableOfContents: false
1919
lastUpdated: false
2020
editUrl: false

website/src/content/docs/rules/index.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description: A complete list of all the rules for HTMLHint
55

66
## Doctype and Head
77

8-
- [`doctype-first`](doctype-first/): Doctype must be declared first.
9-
- [`doctype-html5`](doctype-html5/): Invalid doctype.
8+
- [`doctype-first`](doctype-first/): `<doctype>` must be declared first.
9+
- [`doctype-html5`](doctype-html5/): `<doctype>` must be HTML5.
1010
- [`head-script-disabled`](head-script-disabled/): The `<script>` tag cannot be used in `<head>` tag.
1111
- [`html-lang-require`](html-lang-require/): The HTML lang attribute is required.
1212
- [`meta-charset-require`](meta-charset-require/): `<meta charset="">` must be present in `<head>` tag.
@@ -34,6 +34,7 @@ description: A complete list of all the rules for HTMLHint
3434
## Tags
3535

3636
- [`empty-tag-not-self-closed`](empty-tag-not-self-closed/): The empty tag should not be closed by self.
37+
- [`frame-title-require`](frame-title-require/): A `<frame>` or `<iframe>` element must have an accessible name.
3738
- [`h1-require`](h1-require/): A document must have at least one `<h1>` element.
3839
- [`href-abs-or-rel`](href-abs-or-rel/): An href attribute must be either absolute or relative.
3940
- [`main-require`](main-require/): A document must have at least one `<main>` element in the `<body>` tag.
@@ -44,7 +45,7 @@ description: A complete list of all the rules for HTMLHint
4445
- [`tagname-specialchars`](tagname-specialchars/): Tag names can only contain letters, numbers, "-", ":" or "\_".
4546
- [`tags-check`](tags-check/): Allowing specify rules for any tag and validate that
4647

47-
## Id
48+
## ID
4849

4950
- [`id-class-ad-disabled`](id-class-ad-disabled/): The id and class attributes cannot use the ad keyword, it will be blocked by adblock software.
5051
- [`id-class-value`](id-class-value/): The id and class attribute values must meet the specified rules.

0 commit comments

Comments
 (0)