Either:
- Add a heading (
h1
, ..., h6
) tag to your section
element.
- Replace your
section
element with a div
element.
- Ignore the warning. The message you're seeing is a non-normative usage recommendation, as per the HTML5 spec (highlighting mine):
The theme of each section
should be identified, typically by
including a heading (h1
-h6
element) as a child of the section
element.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…