class HTMLProofer::Check::Links

def check_schemes

def check_schemes
  case @link.url.scheme
  when "mailto"
    handle_mailto
  when "tel"
    handle_tel
  when "http"
    return unless @runner.options[:enforce_https]
    add_failure("#{@link.url.raw_attribute} is not an HTTPS link", element: @link)
  end
end