WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: urgent sample of good code

for

From: John Hicks
Date: Feb 4, 2013 7:14AM


(resending with clean subject line)

Hi

Although the table sounds like it is being misused, the solution to the
problem you mention lies more in using fieldsets and labels correctly.
A fieldset for each question and proper labels (for/id) for each of the
5 radio buttons in each question.

Presentation tables in themselves are not non-compliant. (Although they
are cumbersome).

I even gather that "tables for layout" are back "in" .... whatever that
means.

But the accessibility problème you are asking about revolves around form
labels and fieldsets (I believe).

John

Le 01/02/2013 02:47, Lucy Greco a écrit :
> Hello:
> Does anyone have a sample of a survey using a table lay out for a
> ranking set of questions. I need to provide a contractor a sample of what
> I am looking for and they wanted it in a hurry.
> The idea is the user is given ten ideas they need to agree or disagree
> with in a scale of one to 5 and they are using radio buttons for the
> scale. They have laid this out in a table and have not even tried to lay
> it out with roe or columns headers. I think a better way to do it is treat
> each idea as a separate question but I lost that fight. If anyone has the
> sample code I could give them I would really appreciate it. The thing that
> kills me is the front page of the survey said it was w3c compliant well I
> have to say if my screen reader set to out of box default settings could
> not tell what I was agreeing to or that I was even agreeing or disagreeing
> it isn't Lucy
> > > >


--
John Hicks ( <EMAIL REMOVED> )
Ingénieur Consultant en Accessibilité
Docteur en Sciences Cognitives

www.Urbilog.fr -- Solutions Accessibles