WebAIM - Web Accessibility In Mind

E-mail List Archives

Accessible pagination

for

From: Dean Hamack
Date: Jun 19, 2009 1:05PM


Hi folks,

Something I've been thinking about for a while is the best way to do
pagination. I'm currently working on a wordpress site that will need to use
it, and I found a plugin which outputs pagination like so:

<span class="pages">Page 2 of 3</span>
<a href="page1.htm">prev page</a>
<a href="page1.htm" class="page" title="1">1</a>
<span class="current">2</span>
<a href="page3.htm" class="page" title="3">3</a>
<a href="page3.htm">next page</a>

It also throws in a "first page" and "last page" when there are more than 10
pages.

So my question is, do you think that is sufficient to be accessible? If not,
what does it need?

Appreciate any input.

Dean H.