Class: Hatemile::AccessibleForm Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/hatemile/accessible_form.rb

Overview

This class is abstract.

The AccessibleForm interface improve the accessibility of forms.

Instance Method Summary collapse

Instance Method Details

#mark_all_autocomplete_fieldsvoid

This method is abstract.

This method returns an undefined value.

Mark that the fields have autocomplete.



78
79
80
# File 'lib/hatemile/accessible_form.rb', line 78

def mark_all_autocomplete_fields
  # Interface method
end

#mark_all_invalid_fieldsvoid

This method is abstract.

This method returns an undefined value.

Mark a solution to display that a fields are invalid.



97
98
99
# File 'lib/hatemile/accessible_form.rb', line 97

def mark_all_invalid_fields
  # Interface method
end

#mark_all_range_fieldsvoid

This method is abstract.

This method returns an undefined value.

Mark that the fields have range.



58
59
60
# File 'lib/hatemile/accessible_form.rb', line 58

def mark_all_range_fields
  # Interface method
end

#mark_all_required_fieldsvoid

This method is abstract.

This method returns an undefined value.

Mark that the fields is required.



39
40
41
# File 'lib/hatemile/accessible_form.rb', line 39

def mark_all_required_fields
  # Interface method
end

#mark_autocomplete_field(autocomplete_field) ⇒ void

This method is abstract.

This method returns an undefined value.

Mark that the field have autocomplete.

Parameters:



69
70
71
# File 'lib/hatemile/accessible_form.rb', line 69

def mark_autocomplete_field(autocomplete_field)
  # Interface method
end

#mark_invalid_field(field) ⇒ void

This method is abstract.

This method returns an undefined value.

Mark a solution to display that this field is invalid.

Parameters:



88
89
90
# File 'lib/hatemile/accessible_form.rb', line 88

def mark_invalid_field(field)
  # Interface method
end

#mark_range_field(range_field) ⇒ void

This method is abstract.

This method returns an undefined value.

Mark that the field have range.

Parameters:



49
50
51
# File 'lib/hatemile/accessible_form.rb', line 49

def mark_range_field(range_field)
  # Interface method
end

#mark_required_field(required_field) ⇒ void

This method is abstract.

This method returns an undefined value.

Mark that the field is required.

Parameters:



30
31
32
# File 'lib/hatemile/accessible_form.rb', line 30

def mark_required_field(required_field)
  # Interface method
end