Sha256: b98f2c73a5d9968553c622888a50f3d18698a0c6196fa1a142788de2a9c469a6

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

class AccessibleApp < TestApp
  get '/accessible' do
    '<form><label for="foo">Foo</label>' +
    '<input type="text" name="foo" id="foo"/></form>' +
    '<a href="/inaccessible">inaccessible</a>'
  end

  get '/inaccessible' do
    '<form><input type="text" name="foo" id="foo"/></form>'
  end

  get '/alert' do
    '<a href="#" onclick="alert(\'whoa!\')">Alert!</a>'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capybara-accessible-0.0.2 spec/accessible_app.rb