E-mail List Archives
Re: PDF and heading structure
From: Steve Green
Date: Oct 23, 2024 8:27AM
- Next message: Duff Johnson: "Re: PDF and heading structure"
- Previous message: Sailesh Panchang: "Re: SCOPE"
- Next message in Thread: Duff Johnson: "Re: PDF and heading structure"
- Previous message in Thread: Claire Forbes: "PDF and heading structure"
- View all messages in this Thread
I think people over-complicate this. The programmatic heading structure simply needs to reflect the visual heading structure. If there is an overarching visual heading for all the content, it should be the one and only <h1>. But not all documents contain such a visual heading. If there isn't one, it means the document contains a number of sections that are at the same logical level, in which case their headings should all be <h1>. That's absolutely fine.
If any of those sections contain subsections, their headings should be <h2> and so on.
Most of the guidance you will find typically assumes there is an overarching visual heading or states that there should be one. If there isn't one and you don't plan to add one, nothing else those sources say is relevant.
Steve Green
Managing Director
Test Partners Ltd
- Next message: Duff Johnson: "Re: PDF and heading structure"
- Previous message: Sailesh Panchang: "Re: SCOPE"
- Next message in Thread: Duff Johnson: "Re: PDF and heading structure"
- Previous message in Thread: Claire Forbes: "PDF and heading structure"
- View all messages in this Thread