Sha256: adf2450f0a25dfed9bd64040fe03cc5ce0dd1d2896cfcacb0b90df0c8878e7aa

Contents?: true

Size: 823 Bytes

Versions: 14

Compression:

Stored size: 823 Bytes

Contents

Then(/^there should be one instance of role=main as an attribute of an HTML element$/) do
 @page = Capybara.current_session
 @page.html.should include('role="main"')
 step 'the page should be accessible checking: area-alt'
 step 'the page should be accessible checking: aria-allowed-attr'
 step 'the page should be accessible checking: aria-required-attr'
 step 'the page should be accessible checking: aria-required-children'
 step 'the page should be accessible checking: aria-required-parent'
 step 'the page should be accessible checking: aria-valid-attr-value'
 step 'the page should be accessible checking: aria-roles'
 step 'the page should be accessible checking: aria-valid-attr-value'
 step 'the page should be accessible checking: aria-valid-attr'
 step 'the page should be accessible checking: aria-roles'

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
bddfire-3.0.2 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-3.0.1 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-3.0.0 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-2.0.8 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-2.0.7 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-2.0.6 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-2.0.5 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-2.0.4 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-2.0.3 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-2.0.2 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-2.0.1 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-2.0.0 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-1.9.9 scaffold/accessibility/features/step_definitions/main_landmark.rb
bddfire-1.9.8 scaffold/accessibility/features/step_definitions/main_landmark.rb