WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Tags to Represent Questions


From: Keith Parks
Date: Jan 11, 2008 3:10PM

On Jan 11, 2008, at 6:49 AM, Tim Beadle wrote:

> On 10/01/2008, Keith Parks < <EMAIL REMOVED> > wrote:
>> Aren't IDs and Classes part of the "presentation" (css), and separate
>> from the "content" (html)?
> They're hooks into specific parts of the document, and styling is just
> one usage scenario; DOM scripting is another, and element IDs can be
> used as fragment anchor (#elementid) urls in modern browsers. There
> may be more uses in the future.

> On Jan 11, 2008, at 1:35 PM, Andy Mabbett wrote:
>> No; they're HTML and thus content; more precisely content-labels; and
>> identify which content is which, so that the styles can be applied to
>> it.

OK, I stand corrected. That was imprecise on my part. Code-wise, they
*are* part of html.

But what about first part of my question?

> But how does that relate to accessibility?

Other than defining them in an audio style sheet (which from what
I've heard are essentially unsupported still, right?), what would be
the value of having IDs that associate specific questions with
specific answers? How would that tagging be recognized and applied in
some useful way by a screen reader?



Keith Parks
Graphic Designer/Web Designer
Student Affairs Communications Services
San Diego State University
San Diego, CA 92182-7444
(619) 594-1046


(Objects on your screen may be closer than they appear)