Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Accessing and Tagging- headers inside lists

New Here ,
Feb 01, 2023 Feb 01, 2023

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 🙂

 

TOPICS
How to , Standards and accessibility
218
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 02, 2023 Feb 02, 2023
LATEST

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.

 

 

|    Bevi Chagnon   |  Designer, Trainer, & Technologist for Accessible Documents |
|    PubCom |    Classes & Books for Accessible InDesign, PDFs & MS Office |
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines