Re: Page Relocate

Ryan Jean wrote:

> HTML:
> 
> <META HTTP-EQUIV=Refresh CONTENT="0; URL=test.htm">

This is explicitly a SHOULD NOT in the HTML specification.  I imagine 
they would have given it a MUST NOT except that the HTML specification 
isn't normative for the "refresh" value in meta.

This breaks the back button.

Incidentally, this is a mix of HTML and vendor extensions to HTTP.  It 
will actually work with a real HTTP header, and on non-HTML content.
> 
>  
> 
> JS:
> 
> Window.location.href=”test.htm”;

This breaks the back button, so is an accessibility no-no.

Whilst I believe there are scripting techniques that don't break the 
back button, not everyone has JavaScript, e.g. Lynx and Amaya have no 
support, and many who do disable it for security reasons.  One common 
piece of advise in security advisories is to disable browser scripting, 
and, in secure environments, the standing risk from such a level of 
pragrammability is generally considered too high.

>-- 
David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.

Received on Friday, 29 August 2008 07:48:16 UTC