On 26.6.2012 14:23, robert wrote:

> I'm using DocBook XSL stylesheets to generate XHTML files. Those must
> conform to the WAI-ARIA specification.

That's quite strange requirement. ARIA is used to annotate *web
applications* not static web pages in order to allow interaction with
various widgets to people with disabilities.

> I've noticed that by default HTML
> files output by the DB XSL violate the specification. For example, the
> specification forbids the use of list elements for formatting and DB XSL
> use <dl><dt></dt></dl> constructs for index files and TOCs.

I think that especially for index dl/dt is very good semantic fit. It
would be interesting to know why you think that dl/dt is inappropriate
for things like index and ToC.

> Second question is technical. Where/what should I modify to fix the issue
> mentioned above, i.e. change the rendering of indecies and TOCs
> from <dl><dt></dt></dl> to <ul><li></li></ul> for example?

I don't see such change as an improvement neither in accessibility nor
in functionality and rendering of the output.

                                Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: [email protected]      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to