[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/editor/atto/plugins/accessibilityhelper/tests/behat/ -> accessibilityhelper.feature (source)

   1  @editor @editor_atto @atto @atto_accessibilityhelper
   2  Feature: Atto accessibility helper
   3    To use a screen reader effectively in Atto, I may need additional information about the text
   4  
   5    @javascript
   6    Scenario: Images and links
   7      Given I log in as "admin"
   8      And I follow "Profile" in the user menu
   9      And I follow "Edit profile"
  10      And I set the field "Description" to "<p>Some plain text</p><img src='/broken-image' alt='Image 1'/><p><a href='#fsd'>Some link text</a></p>"
  11      And I select the text in the "Description" Atto editor
  12      When I click on "Show more buttons" "button"
  13      And I click on "Screenreader helper" "button"
  14      Then I should see "Links in text editor"
  15      And I should see "Some link text"
  16      And I should see "Images in text editor"
  17      And I should see "Image 1"
  18      And I should not see "No images"
  19      And I should not see "No links"
  20  
  21    @javascript
  22    Scenario: Styles
  23      Given I log in as "admin"
  24      And I follow "Profile" in the user menu
  25      And I follow "Edit profile"
  26      And I set the field "Description" to "<p>Some plain text</p>"
  27      When I click on "Show more buttons" "button"
  28      And I select the text in the "Description" Atto editor
  29      And I click on "Unordered list" "button"
  30      And I click on "Screenreader helper" "button"
  31      And I select the text in the "Description" Atto editor
  32      # This shows the current HTML tags applied to the selected text.
  33      # This is required because they are not always read by a screen reader.
  34      Then I should see "UL, LI"
  35  


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1