Class: Contrast::Agent::Assess::Rule::Response::AutoComplete

Inherits:
BaseRule
  • Object
show all
Includes:
BodyRule
Defined in:
lib/contrast/agent/assess/rule/response/auto_complete_rule.rb

Overview

These rules check the content of the HTTP Response to determine if the body contains a form which incorrectly sets the autocomplete attribute.

Constant Summary

Constants inherited from BaseRule

BaseRule::DATA

Instance Method Summary collapse

Methods inherited from BaseRule

#analyze

Instance Method Details

#rule_idObject



16
17
18
# File 'lib/contrast/agent/assess/rule/response/auto_complete_rule.rb', line 16

def rule_id
  'autocomplete-missing'
end