The following tests whether the hidden INPUT element below is incorrectly (attempted to be) focused upon. Attempting to focus on hidden form controls raises an exception in MSIE.

The following form, containing an input element with an autofocus attribute, is set to not display with CSS.