Re: [WSG] Doctype Javascript and accessibility

2004-08-09 Thread Vincent De Baere
On Mon, 9 Aug 2004 14:27:32 -0400
Nancy Johnson [EMAIL PROTECTED] wrote:

 Does anyone know if a simple doctype javascript is accessible to text
 readers?

First of all: what do you mean by doctype javascript?

Second: what do you mean by text reader? A text-mode UA (à la lynx)?
Screen reader software?

In the first case (text-mode UA), it depends on the UA, however, IIRC
lynx does not support javascript. Keep in mind that search engines too
may not support javascript. That makes javascript-dependent navigation
one of the worst ideas ever IMHO.

In the second case it depends on the UA the screen reader is reading
from. I can imagine MSIE to execute the code on page load thus enabling
a screen reader to read the contents. However, I could be wrong on this
one...

 The javascript would be similar to the following:  

snip document.write();
snip script tag

Out of curiosity: why would you want content to be accessible depending
on whether or not the user has javascript activated? The way you're
writing those links to the page is causing me never to see it at all... .
And if I want to contact you, i need to find my good old phone guide... .
(heck, where's that one?)

Vincent


pgpVENMKu0SNh.pgp
Description: PGP signature


Re: [WSG] Character Encoding Mismatch

2004-07-02 Thread Vincent De Baere
On Friday 02 July 2004 05:03, Ben Bishop wrote:
 Hi Sage,

  When I validate my page, I get the following message
  The character encoding specified in the HTTP header (utf-8)  is
  different from the value in the meta element  (iso-8859-1).
  I'd like to keep the iso-8859-1 value, just because it seems to work

 Your web server (eg Apache) sends the character encoding HTTP header.
 In order to match up your HTTP header to your meta-equiv you would
 need to make the change server-side, something you might not have
 access to do.

 This simplest way to match them would be changing your meta tags.

Or, depending on your web server setup, use a .htaccess file: 

http://httpd.apache.org/docs/mod/core.html.en#adddefaultcharset

AddDefaultCharset On should do according to the docs... 

grtz

Vincent
-- 
Vincent De Baere
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
*