open a window without onclick or onfocus

C

chris

Hi,

I use the javascript within dreamweaver to open a small window with an
"onclick" bit of JS.

Due to WAI Level 3 requirments I need to open a wind on command
without using onclick or onfocus....any ideas.

CF
 
D

DU

chris said:
Hi,

I use the javascript within dreamweaver to open a small window with an
"onclick" bit of JS.

Due to WAI Level 3 requirments I need to open a wind on command
without using onclick or onfocus....any ideas.

CF

Where do you see that? WAI guidelines? WAI techniques? WAI checkpoints?
Please post an url.

DU
 
K

kaeli

Hi,

I use the javascript within dreamweaver to open a small window with an
"onclick" bit of JS.

Due to WAI Level 3 requirments I need to open a wind on command
without using onclick or onfocus....any ideas.

CF

Where did you see that in the WAI?
News to me...

--
 
K

kaeli

Hi,

I use the javascript within dreamweaver to open a small window with an
"onclick" bit of JS.

Due to WAI Level 3 requirments I need to open a wind on command
without using onclick or onfocus....any ideas.

CF

Oh, assuming this is some requirement, try onkeydown AND onclick. That
should work if someone uses the mouse or if they hit a key to simulate a
mouse click.
I can't imagine a browser, even one for special needs people, that
didn't implement onClick (even if it were fired from a key), though.

--
 
J

Jeff North

| In article <[email protected]>,
| (e-mail address removed) enlightened us with...
| > Hi,
| >
| > I use the javascript within dreamweaver to open a small window with an
| > "onclick" bit of JS.
| >
| > Due to WAI Level 3 requirments I need to open a wind on command
| > without using onclick or onfocus....any ideas.
| >
| > CF
| >
|
| Oh, assuming this is some requirement, try onkeydown AND onclick. That
| should work if someone uses the mouse or if they hit a key to simulate a
| mouse click.
| I can't imagine a browser, even one for special needs people, that
| didn't implement onClick (even if it were fired from a key), though.

Dreamweaver 508 Accessibility Error
Scripts should be accessible [WCAG 6.3, 8.1 P1] --- The "INPUT'
element has an event attribute ('ONCLICK'): check its accessibility.

http://www.w3.org/TR/WCAG10-HTML-TECHS/#link-accesskey
 
K

kaeli

| Oh, assuming this is some requirement, try onkeydown AND onclick. That
| should work if someone uses the mouse or if they hit a key to simulate a
| mouse click.
| I can't imagine a browser, even one for special needs people, that
| didn't implement onClick (even if it were fired from a key), though.

Dreamweaver 508 Accessibility Error
Scripts should be accessible [WCAG 6.3, 8.1 P1] --- The "INPUT'
element has an event attribute ('ONCLICK'): check its accessibility.

Wow. I learn something new every day.

Someone else says use both onclick and onkeydown.
http://www.w3.org/TR/WCAG10-HTML-TECHS/#directly-accessible-scripts

Cool. Thanks.

--
 
C

chris

kaeli said:
Where did you see that in the WAI?
News to me...

--


=============

Level 3 requirement section 9.5

"Provide keyboard shortcuts to important links (including those in
client-side image maps), form controls, and groups of form controls."

This means no "onclick" events without another way to achive the
effect without a mouse.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top