Hi all,
 
I have a problem I'm hoping someone else has already fixed: Headings (h1, h2, 
etc.) don't always follow a correct hierarchy in Manakin.
 
Some pages -- for example, the home page -- include multiple h1's [1].  Others 
include headings that skip from h1 to h3 without an intervening h2 [2].  This 
violate one of our ADA/accessibility requirements.
 
There are a couple of different templates that set headings in Manakin, but the 
one that seems to be causing us problems is the dynamic one, here:
 
 <xsl:template match="dri:div/dri:head" priority="3">
   <xsl:variable name="head_count" select="count(ancestor::dri:div)"/>
   <xsl:element name="h{$head_count}">
   [...]
 </xsl:template>
 
Has anyone addressed this problem already?
 
--Dave
 
 
These examples from the Texas A&M Manakin, although it is true of all the 
implementations I've seen:
 
[1] http://repositories.tamu.edu/
 
[2] http://repositories.tamu.edu/community-list
 
-------------------
David Walker
Library Web Services Manager
California State University
http://xerxes.calstate.edu

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to