On 01/17/2013 09:13 PM, Sams, Weldon wrote:

I sent a request earlier asking if there's a way to prevent paragraphs
from being defined as <div class="p"> and instead <p>, but it was
rejected as not being a bug report.

Looking back, this may be a bug if you consider screen readers. A screen
reader will not know that <div class="p"> is really a paragraph, and
likewise the fake bulleted lists generated from related links - they
should be real un-ordered lists for screen readers.

See below the changes I made.


I'm sorry but I don't agree with you. I confirm that there is no bug here:

The DITA p element may contain elements such as ul, pre, ol, note, etc, Therefore translating a DITA p element (which may contain ``blocks''; see http://docs.oasis-open.org/dita/v1.2/os/spec/langref/p.html) to an XHTML p element (which may not contain ``blocks''; see http://www.w3.org/TR/html401/struct/text.html#edef-P) would be a bug.

What you request could be a screen-reader-friendly *option* which would be turned off by default. In fact, this was more or less the meaning of your initial email (rejected by the moderator of [email protected] because it looked more like a newbie support request than a RFE.)

We do not plan to implement, test and document such screen-reader-friendly option because it is not of general use. Moreover, we are not organized to accept patches contributed by third-part developers. Sorry for that.

This being said, XMLmind DITA Converter (ditac) is a free, open source software, and you are very welcome to modify it to adapt it to your needs. Apparently, you had not much problems doing that. Congratulations.

--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to