WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Well formed verses Valid code

for

From: Alastair Campbell
Date: Feb 26, 2007 4:20AM


Phil Teare wrote about unencoded ampersands:
> it can cause issues, BUT this is an example of where its just as
> easy for the AT devs to fix it. So it should be our job, not yours.

Well (from memory), the spec says to either encode the ampersands, or
use semi-colons (which very few people do), so it should be on the
authoring tool and/or server config really.

> So I'd ask (as an AT developer) that Web designers avoid
> mixing markup and
> code with 'normal' text. Please :) e.g seperate out into
> another container
> element and lable it 'Code'.

Not sure what you mean here, do you mean when people put in code
snippets to display?

Cheers,

-Alastair