Skip to content
This repository was archived by the owner on Jul 30, 2019. It is now read-only.
This repository was archived by the owner on Jul 30, 2019. It is now read-only.

Do not recommend using nested sections with h1 #169

@chaals

Description

@chaals

Currently there are two recommended approaches to headings: using the h1 - h6 in a structured nesting order, or using nested <section><h1> blocks relying on the outline algorithm.

Doing this looks right in modern browsers, which apply some simple CSS to make nested h1 elements look similar to h2 - h6 according to the level of nesting. But the CSS used is pretty fragile, and the browsers report the level of heading e.g. through accessibility APIs as h1 whatever their nesting level.

I propose that we make a counter-recommendation not to use nested <section><h1> while browsers do not implement it reliably.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions