[pmwiki-users] Xhtml 1.0 Strict

Petko Yotov 5ko at 5ko.fr
Fri Jun 27 15:11:42 CDT 2008

On Friday 27 June 2008 20:15:16 Patrick R. Michaud wrote:
> ...thus replacing some non-strict XHTML attribute with some
> non-strict (and more complex, and potentially unsafe) Javascript.
> This is one of those areas where I think that a strict adherence
> to standards leads to completely absurd outcomes. Still, I recognize 
> that there are people who don't have a choice in the matter, so
> perhaps we can come up with a recipe to get %target=whatever% to
> generate the javascript above instead.

We could probably trust the users to decide if they would like to open new 
windows and tabs (and losing their browsing history) or not, instead of 
guessing and deciding for them.

Depending on browsers, users can right/middle/shift/ or ctrl -click to open a 
new browser window if they wish to do so. 

One usability-friendly,  visitor-friendly and validator-friendly way to do 
this is to use a visually different CSS style/color for external links (like 
the tips at [1]) without any target attribute.

[1] http://pmwiki.org/wiki/Cookbook/ExternalLinks

P.S. Like other fulltime internet users I find the target=_blank attributes 
utterly annoying, selfish and amateur, but luckily my filtering proxy removes 
them for me. :-) Most normal people, however, are helpless victims to the 
target attribute.

More information about the pmwiki-users mailing list