[ Index ]

PHP Cross Reference of moodle-2.8

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 navigate to "Edit profile" node in "My profile settings"
   9      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>"
  10      And I select the text in the "Description" Atto editor
  11      When I click on "Show more buttons" "button"
  12      And I click on "Screenreader helper" "button"
  13      Then I should see "Links in text editor"
  14      And I should see "Some link text"
  15      And I should see "Images in text editor"
  16      And I should see "Image 1"
  17      And I should not see "No images"
  18      And I should not see "No links"
  19  
  20    @javascript
  21    Scenario: Styles
  22      Given I log in as "admin"
  23      And I navigate to "Edit profile" node in "My profile settings"
  24      And I set the field "Description" to "<p>Some plain text</p>"
  25      When I click on "Show more buttons" "button"
  26      And I select the text in the "Description" Atto editor
  27      And I click on "Unordered list" "button"
  28      And I click on "Screenreader helper" "button"
  29      And I select the text in the "Description" Atto editor
  30      # This shows the current HTML tags applied to the selected text.
  31      # This is required because they are not always read by a screen reader.
  32      Then I should see "UL, LI"
  33  


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1