[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Supporting WAI-ARIA specification
Hi Robert,
I don't have any experience implementing WAI-ARIA
conformance, but I can tell you what would need customization to replace
<dl> lists.
For TOCs, you can reset the value of two
params:
<xsl:param
name="toc.list.type">div</xsl:param>
<xsl:param
name="toc.listitem.type">div</xsl:param>
For indices, you will need to modify the XSL
templates. There are three indexing methods available in the stylesheet,
and they use different templates. See this reference for the list of
methods:
If you did not set this param, then you are getting
the 'basic' index method. Those templates are in xhtml/autoidx.xsl.
You will need to search through that file, copy any templates that make use of
dl, dt, or dd to your customization layer, and change the element names to div,
perhaps with class attributes.
The formatting of glossary and qandaset also uses
dl, and those templates are in glossary.xsl and qandaset.xsl,
respectively.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]