OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Accessibility: adding scope attribute to HTML output

I had to meet accessibility requirements for tables and I ended up
using the headers attribute in each <td> and referring to the <id> of
the corresponding <th>.

This was possible for me because I'm using a separate XSL process to
generate the DocBook XML from MS Word XML. I added code to that
conversion so that it includes colname attributes in each cell. I
thought it got very complicated when I had to handle merged cells.

I posted a simple example and a sample of my DocBook XSL customization here:


Good luck.


On Mon, Sep 19, 2011 at 4:58 AM, mike 675 <m_mclaug@yahoo.co.uk> wrote:
> To meet accessibility requirements, we need to add the scope attribute to the
> HTML output for our tables.
> Our tables are marked up in DocBook XML, CALS style.
> Every <th> needs to be <th scope="col">
> The first <td> in a <tr> needs to be <td scope="row">
> Any ideas on where to start on this.
> I guess I need to cusomize the html/table.xsl stylesheet.
> --
> View this message in context: http://old.nabble.com/Accessibility%3A-adding-scope-attribute-to-HTML-output-tp32493408p32493408.html
> Sent from the docbook apps mailing list archive at Nabble.com.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]