WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Tags to Represent Questions


From: Tim Beadle
Date: Jan 11, 2008 7:50AM

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.