Page 1 of 1
How to output a clickable check box?
Posted: Wed May 15, 2024 10:28 pm
by Lemesany
I need to create a check box like
https://www.w3.org/TR/2006/WD-WCAG20-20 ... ndixB.html
How can I mark this up in DITA?
Re: How to output a clickable check box?
Posted: Thu May 16, 2024 8:34 am
by Radu
Hi,
The DITA XML standard itself does not have support to define checkboxes, forms.
I think you could either use the DITA XML <boolean> element to represent a state (but you would need to create a publishing specialization to convert it to a specific HTML element):
https://www.oxygenxml.com/dita/1.3/spec ... olean.html
Or embed HTML content directly inside the DITA content using the <foreign> element:
https://www.oxygenxml.com/doc/ug-editor ... -html.html
Regards,
Radu