To ensure people get the equivalent message on systems that don't support scripts and event-handlers, include some equivalent content in the <NOSCRIPT> element. As well ensure that the event-handlers you use are logical rather than device-dependent (See Checkpoint 9.3 for more about using event-handlers accessibly.)
The following example displays a BUTTON. The button is associated with a JavaScript SCRIPT. When the script is triggered by an EVENT, an ALERT window pops up on the screen of a graphical browser. The alert window contains a message for the user. In this case, the event is either the TAB key moving the focus to the button, or the user passing the mouse cursor over the button. The 'OnFocus' EVENT-HANDLER looks for the first type of event, while the 'OnMouseOver' event-handler looks for the second.
The script is followed by the NOSCRIPT element that contains the same message that would have appeared in the alert window. If BUTTON and SCRIPT (or the particular script-language) are not supported, a browser should display the content of BUTTON and the NOSCRIPT elements. In that case, you should see: