We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24495
    • 407 Posts
    What about templating the pagination? Currently we have the [+previous+] [+pages+] [+next+] placeholders, but the contents of them are fix. For accessible pages the [+pages+] should have a printable delimiter. Or it should be possible to output an unordered list of links.

    Maybe I’m confused a bit and can’t find a current solution (other then hacking ditto.class.inc.php).
      • 18397
      • 3,250 Posts
      Why would having a printable delimiter make the pages more accessible when you can do that via CSS? Also, could you give an example where you’ve seen an unordered list for pagination? The semantic pagination code in Ditto is based off of major sites like digg.com.
        • 24495
        • 407 Posts
        Screenreaders can’t see CSS grin Screenreaders (especially older versions) have problems with links following one after the other without delimiters. So impaired users hear links without gaps. And visually with CSS defs disabled the links bump together. Therefore styling via CSS isn’t the only solution.

        The Web Content Accessibility Guidelines 1.0 say at point 10.5: "Until user agents (including assistive technologies) render adjacent links distinctly, include non-link, printable characters (surrounded by spaces) between adjacent links." Ok it is only prio 3 but generally a solution would be fine. That can be done with a printable delimiter or a list (rendered horizontal for pagination).

        And ... you’re right: I can’t find a site using such a pagination. undecided Most sites use the digg style. ... ... forget my idea rolleyes
          • 18397
          • 3,250 Posts
            • 24495
            • 407 Posts
            It seems that other people have similar wishes.

            Give ’em an inch and they’ll take a mile grin