Text unavailable to sighted users but available to screen reader users

I have built a form which has a submit button on it.
If the user activates the button and hasn't filled out
the form correctly, a javascript 'alert' pop-up is
presented to the user, giving more information.
This appears to be in breach of checkpoint 10.1
Would it be acceptable to provide a warning message,
something like 'Submitting this form may result in a
pop-up dialog being displayed' before the submit
button, in the same color as the background?
Thus (I believe) making the text available to screen
reader users but not to sighted users?

Graham Oliver

Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 

Received on Tuesday, 6 March 2001 16:52:52 UTC