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