This test consists in detecting forms on the page.
The control that checks that the user is warned has to be done manually.
On each Web page, for each window opening launched via a form control, is the user warned?
<select> not within a
<input> not within a
<button> not within
<form> tags (form, select:not(form select), textarea:not(form
textarea), input:not(form input), button:not(form button))
The selection handles the process.
For each occurence of the Set1 raise a MessageA
MessageA: Check user is warned in case of new window open
- code : CheckUserIsWarnedInCaseOfNewWindow
- status: Pre-Qualified
- parameter : text, title attribute, snippet
- present in source : yes
The page has neither
<select> within a
<input> within a
<textarea> within a
<form> tag (Set1 is empty)
In all other cases
We detect the elements of the scope of the test to determine whether the test is applicable.
On latest webdev data set (2013-10-30, 78,000 pages), the test scope (form, select:not(form select), textarea:not(form textarea), input:not(form input), button:not(form button)) has been found on 65632 pages, i.e on 84% of the pages (the test returns NA in 16% of the cases)