Skip to content

Commit 62d27f1

Browse files
Remove inapplicable examples of empty headings
1 parent 985e5ca commit 62d27f1

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

_rules/heading-descriptive-b49b2e.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -215,26 +215,6 @@ This `h1` heading element is not [included in the accessibility tree][].
215215
</html>
216216
```
217217

218-
#### Inapplicable Example 3
219-
220-
This `h1` heading element has an empty [accessible name][].
221-
222-
```html
223-
<html lang="en">
224-
<h1></h1>
225-
</html>
226-
```
227-
228-
#### Inapplicable Example 4
229-
230-
Semantic heading has an empty [accessible name][].
231-
232-
```html
233-
<html lang="en">
234-
<p role="heading" aria-level="1"></p>
235-
</html>
236-
```
237-
238218
[decorative]: https://www.w3.org/TR/WCAG22/#dfn-pure-decoration 'WCAG definition of Pure decoration'
239219
[flat tree]: https://drafts.csswg.org/css-scoping/#flat-tree 'Definition of flat tree'
240220
[included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree'

0 commit comments

Comments
 (0)