Accessing and Tagging- headers inside lists
Copy link to clipboard
Copied
Hello guys,
If I have a list with 4 items but in the middle of it there's an header (for example):
1.
2.
3.
"header"
4.
How do I tag it correctly so the header won't be read as a list item too?
THANX 🙂
Copy link to clipboard
Copied
Apply a different paragraph style to it, such as "List Heading", and designate that style to export as an H2 or other heading tag.
Note that you're attempting to create an oddly-tagged list: the standard does not allow for heading tags within lists, only <LI> list item tags and their subtags <Lbl> and <LBody>.
So after the heading, your PDF will start a new list, regardless of what number you force it to start with, such as 4 in your sample.
Your tag tree will appear like this (I'm skipping over the LBL and LBody subtags for clarity):
<L>
<LI> 1.
<LI> 2.
<LI> 3.
<Hx>
<L>
<LI> 4.
<LI> 5.
<LI> 6.
| PubCom | Classes & Books for Accessible InDesign, PDFs & MS Office |

