I need to make some specific alterations to some JavaScript in webpages in
order to comply with government guidelines on accessibility. Apparently,
whenever the OnClick event is used, it must be accompanied by an alternative
OnKeyPress event. The guidelines are very vague and I am not sure what this
means. I have used the following piece of JavaScript inside the cell of a
table:
onclick="window .open('http://www.etc')
Do I need to add the following?
onkeypress="win dow.open('http://www.etc')
Kev
order to comply with government guidelines on accessibility. Apparently,
whenever the OnClick event is used, it must be accompanied by an alternative
OnKeyPress event. The guidelines are very vague and I am not sure what this
means. I have used the following piece of JavaScript inside the cell of a
table:
onclick="window .open('http://www.etc')
Do I need to add the following?
onkeypress="win dow.open('http://www.etc')
Kev
Comment