[Typo3-dev] Typolink: Accessible popup links

Simon Ihmig ihmig at kaliber5.de
Tue Apr 5 11:02:01 CEST 2005


> I noticed that the javascript popup links generated by the typolink
> function are not accessible.

> In fact they should look like this:
>
> <a href="http://myUrl/?type=98"
>
onclick="vHWin=window.open('http://myUrl/?type=98','FEopenLink','scrollbars=
1,width=550,height=550');vHWin.focus();return
> false;"  target="_blank">
>
> Otherwise the link won't work if javascript is turned of in the browser.

To make them accessible, you should add someting like this to the a tag:
onkeypress="this.onclick"
This way you don't rely on a mouse as the input device.

I already submitted a similar suggestion to bugtracker for the imageLinkWrap
property...

Regards,
Simon






More information about the TYPO3-dev mailing list