WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Tables with sortable columns

for

From: reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
Date: Feb 16, 2005 10:42PM


I happened to find this the other day when I was looking for ASP
tutorials myself!

http://www.w3schools.com/ado/showasp.asp?filename=demo_sort_3

There is a whole heaps of ASP tutorials and things on w3schools.

Hope it helps!

-Lisa


On Wed, 16 Feb 2005 13:41:20 -0600, Joelle Tegwen wrote:
> I did a page *just like this* for books.
> I use a lot of include files when I code, so I've copied information in that
> normally would be externalized (like the stylesheet) for simplicity. I've
> left in includes links that are irrelevant. This code will give a pale
> background to the column that has been sorted. This table is not totally
> accessible since that was not a requirement for the project I was working
> on. So you'll want to include things like scope, summary, caption, etc.
>
> If you need help deciphering any of this let me know. Database information
> is held in a class called clsbooks to restrict the amount of time that the
> recordset object is open.
>
> HTH
>
> Joelle Tegwen
>
>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
>
>
>
>
> <!--
> ul. li# a {
> text-decoration: none;
> font-weight: bold;
> color: #000000;
> }
> table. td. { background:
> #FFFFEE;}
> table. th. { background:
> #FFFFEE;}
> td.author (min-width: 25%;}
> td.title{min-width: 25%;)
>
> -->
>
>
>
>
>
>
>
> Books
>
> There are books.
>
> " cellspacing="0"
> cellpadding="2">
>
> <a
> href="BookLists.asp?page=current&order=author">Author
> <a
> href="BookLists.asp?page=current&order=title">Title
> <a
> href="BookLists.asp?page=current&order=isbn">ISBN
> <a
> href="BookLists.asp?page=current&order=reviewer">Reviewer
>
>
>
>
> <a href="BookReview.asp?isbnNoHyph=<%> clsBooks.getFieldData("isbnNoHyph", i) %>">
>
>
> <%= clsBooks.getFieldData("ReviewerName",
> i)%>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ________________________________
> From: christopher.m.kelly.gm22
> [mailto: <EMAIL REMOVED> ]
> Sent: Wednesday, February 16, 2005 1:12 PM
> To: WebAIM Discussion List
> Subject: [WebAIM] Tables with sortable columns
>
>
>
> Do any of you know of a way to code tables in which the column headers can
> be clicked on to sort the table data? The data is supplied via ASP. I'm
> working with an outside vendor who has created search results tables that
> allow sorting by column header. However, they've made each column it's own
> separate table! This, of course, is inaccessible and plays heck with JAWS.
>
> Christopher M. Kelly, Sr.
> State Farm Insurance Companies - disAbility Support
> email: <EMAIL REMOVED>
>