Sha256: f642d5c88641b9957a6fce307f58c61ba4191d0a4833f650ce6e673f07ca303c
Contents?: true
Size: 487 Bytes
Versions: 3
Compression:
Stored size: 487 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 '<div role="zomg"></div>' end get '/excluded' do '<form><input type="text" name="foo" id="foo"/></form>' end get '/alert' do '<a href="#" onclick="alert(\'whoa!\')">Alert!</a>' end get '/severe' do '<img src="" />' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capybara-accessible-0.1.10 | spec/accessible_app.rb |
capybara-accessible-0.2.1 | spec/accessible_app.rb |
capybara-accessible-0.2.0 | spec/accessible_app.rb |