[Typo3-dev] Typolink: Accessible popup links
Dmitriy Osadchiy
dmi3 at clarity.kiev.ua
Wed Apr 6 11:17:22 CEST 2005
Hello Simon,
http://www.cs.tut.fi/~jkorpela/forms/javascript.html#window
This tutorial tells to use "href" and "target" attributes of link
together with "onclick" event.
--
Best regards,
Dmitriy mailto:dmi3 at clarity.kiev.ua
Tuesday, April 5, 2005, 9:17:38 PM, you wrote:
>> >> 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.
>>
>>
>> The last sentence was misleading. It should be:
>> This way you can comply to the accessibility guidelines without technical
>> problems.
>>
>> > onclick reacts to the keyboard, too, IMHO. At least when pressing
>> > enter, it should work without this. DOes anyone know better/exactly?
>>
>> You are right, but the problem is:
SI> According to W3C
SI> http://www.w3.org/TR/html4/interact/scripts.html#adef-onclick:
SI> <quote>The onclick event occurs when the pointing device button is clicked
SI> over an element. This attribute may be used with most elements.</quote>
SI> So I think my interpretation was correct. Of course that doesn't mean that
SI> some browsers are not behaving in a different way, but if they do so, they
SI> are kind of violating the HTML specs.
SI> Simon
SI> _______________________________________________
SI> Typo3-dev mailing list
SI> Typo3-dev at lists.netfielders.de
SI> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
More information about the TYPO3-dev
mailing list