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

Check boxes tagging structure

Explorer ,
Feb 03, 2022 Feb 03, 2022

Hey all!

 

Can someone tell me how the taging structure for checkboxes should look like to comply for accessibility and screen readers?

I know how to create the check box (name them the same and make the export value different) and that the form field needs to be nested within each <P> tag.

Should the question (What food do you like), and all the answers (Pizza, Fries, Veggies,...) all be on the same level of the tagging structure,

not nested.png

 

or should all the answers be nested within the question?nested.png

Thanks for your help!!

Yes I know I misspelled "breathe"

 

TOPICS
Create PDFs , Edit and convert PDFs , How to , PDF forms , Standards and accessibility
2.0K
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
Explorer ,
Feb 03, 2022 Feb 03, 2022

Yup! I also see that the subject should be Tagging structure for checkboxes - Sorry! I'm tired!!

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
People's Champ ,
Feb 04, 2022 Feb 04, 2022
quote

I know how to create the check box (name them the same and make the export value different)

 

No, you described radio buttons — name them the same. Radio buttons allow for only 1 choice, excluding the others in the same-named group.

 

If you want truly independent check boxes where the user can select one or more options, then they are just plain checkbox fields.

 

quote

... and that the form field needs to be nested within each <P> tag.

Yes, that's correct.

 

quote

Should the question (What food do you like), and all the answers (Pizza, Fries, Veggies,...) all be on the same level of the tagging structure,

not nested.png

 

or should all the answers be nested within the question?

 

Either construct works at this time. But note that:

 

You can't nest a <P> inside another <P>, so when you have the answers nested in the same <P> as the question, they will be just yellow content boxes and <Form> tags with the question's <P>.

 

You can also nest each answer/label and its <Form> tag within a <Div>, and then nest the <Div> inside the <P>.

 

|    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
Explorer ,
Feb 04, 2022 Feb 04, 2022
LATEST

What would be the benefit of using the <Div> tags nested in the question <P>>, rather than putting each answer on the same level (not nested)

 

Does it work better for the screen readers?

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