class Hatemile::AccessibleForm

The AccessibleForm interface improve the accessibility of forms.

@abstract

Public Instance Methods

mark_all_autocomplete_fields() click to toggle source

Mark that the fields have autocomplete.

@abstract @return [void]

# File lib/hatemile/accessible_form.rb, line 78
def mark_all_autocomplete_fields
  # Interface method
end
mark_all_invalid_fields() click to toggle source

Mark a solution to display that a fields are invalid.

@abstract @return [void]

# File lib/hatemile/accessible_form.rb, line 97
def mark_all_invalid_fields
  # Interface method
end
mark_all_range_fields() click to toggle source

Mark that the fields have range.

@abstract @return [void]

# File lib/hatemile/accessible_form.rb, line 58
def mark_all_range_fields
  # Interface method
end
mark_all_required_fields() click to toggle source

Mark that the fields is required.

@abstract @return [void]

# File lib/hatemile/accessible_form.rb, line 39
def mark_all_required_fields
  # Interface method
end
mark_autocomplete_field(autocomplete_field) click to toggle source

Mark that the field have autocomplete.

@abstract @param autocomplete_field [Hatemile::Util::Html::HTMLDOMElement] The field

with autocomplete.

@return [void]

# File lib/hatemile/accessible_form.rb, line 69
def mark_autocomplete_field(autocomplete_field)
  # Interface method
end
mark_invalid_field(field) click to toggle source

Mark a solution to display that this field is invalid.

@abstract @param field [Hatemile::Util::Html::HTMLDOMElement] The field. @return [void]

# File lib/hatemile/accessible_form.rb, line 88
def mark_invalid_field(field)
  # Interface method
end
mark_range_field(range_field) click to toggle source

Mark that the field have range.

@abstract @param range_field [Hatemile::Util::Html::HTMLDOMElement] The range field. @return [void]

# File lib/hatemile/accessible_form.rb, line 49
def mark_range_field(range_field)
  # Interface method
end
mark_required_field(required_field) click to toggle source

Mark that the field is required.

@abstract @param required_field [Hatemile::Util::Html::HTMLDOMElement] The required

field.

@return [void]

# File lib/hatemile/accessible_form.rb, line 30
def mark_required_field(required_field)
  # Interface method
end