The candidate set is:
Any form elements with a title attribute defined
input title=
select title=""
button title=""
textarea title=""
The test logic is:
If the title is too short: title.length <= 3
If the title has suspicious text: Take the string assigned to the title attribute, make lowercase and trim then evaluate against the following criteria:
Contains the string 'title' AND title.length <=5 ||
Contains the string 'click' AND title.length <= 5 ||
Contains the string "enter text' AND title.length <= 10 ||
Contains the string "click here' AND title.length <=10 ||
Contains the string 'select one' AND title.length <=10 ||
Contains the string 'input text' AND title.length <=10
Alchemy Test: Check title attribute length and content for suspicious text
Input with short title (should be flagged)
Select with short title (should be flagged)
Button with short title (should be flagged)
Text Are with short title (should be flagged)
Input with title in title (should be flagged)
Input with click in title (should be flagged)
Input with enter text in title (should be flagged)
Input with click here in title (should be flagged)
Input with select one in title (should be flagged)
Input with input text in title (should be flagged)
Input with long and non-suspicious title (should not be flagged)