WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: need table help

for

From: aknock
Date: Jan 20, 2005 2:54PM



Axes. Given that each employee always has two employers, is there
anything wrong with:

Employee Name | Employee Status | Employer 1 Name | Employer 1 Status |
Employer 2 Name | Employer 2 Status
------------------------------------------------------------------------
-----------------------------------

(that's 6 columns, in case it wraps)

That would be the most usable solution, given that you want person to be
unique. I know that's not visibly what you were after, though to me
your original sketch didn't make sense semantically unless you gave each
record its own table and repeated the headers - there's no intrinsic
association between employee and employers otherwise, that is if you
want work out which is which.

If you don't mind duplicate employee rows, then you could just have:

Employee Name | Employee Status | Employer Name | Employer Status
-----------------------------------------------------------------
Employee A | Happy, thanks. | Employer 1 | Stressed
Employee A | Happy, thanks. | Employer 2 | Chilled

But you then end up duplicating employee name and status and there's a
whole lot more to read through. I'd opt for the first layout in a
non-web situation, so presumably would opt for the same in a web
situation. That makes it easier to mark up sensibly too, I think?

Incidentally, what kind of weird corporate structure is this? :)

Alistair

> -----Original Message-----
> From: darrel.austin [mailto: <EMAIL REMOVED> ]
> Sent: 18 January 2005 20:00
> To: WebAIM Discussion List
> Subject: Re: [WebAIM] need table help
>
>
>
> >>> You cannot link to a TD via
> >>> headers, you
> >>> need to link to a TH.
> >>
> >> So why does this sort of thing appear in the WCAG1.0 techniques?
> >>
> http://www.w3.org/TR/WCAG10-HTML-TECHS/>;
#identifying-table-rows-column
> >> s
> >> See third example.
> >
> > Coupled with Axis.
>
> Looking at Axis, it seems to make sense when your table has two axises
> (axi?) but I'm not sure if that's really what I have. Well, I
> do, but it's not the key issue I'm having problems with. It's
> the relationship between employee and employer with them both
> being in the same column that I'm confused about.
>
> -Darrel
>
> ----
> To subscribe or unsubscribe, visit http://www.webaim.org/discussion/
>
>

----
To subscribe or unsubscribe, visit http://www.webaim.org/discussion/