Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68541

Limit the image description length and improve the alt text string

    XMLWordPrintable

Details

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Hide
      1. Login to Moodle and ensure you are using the Atto editor in your editor preferences.
      2. Edit a text area with the Atto editor - your profile will do.
      3. Press the insert image button. The Image properties dialogue will appear.
      4. Verify that the text "This image is decorative only" appears next to a checkbox.
      5. Verify that the text entry for the description is a textarea form element.
      6. Verify that there is a count indicator below the textarea. It should read "0 / 125".
      7. Enter text in the textarea. The counter should reflect the number of characters typed.
      8. Keep entering text until you have entered more than 125 characters. Verify that you cannot enter more than 125 characters.
      Show
      Login to Moodle and ensure you are using the Atto editor in your editor preferences. Edit a text area with the Atto editor - your profile will do. Press the insert image button. The Image properties dialogue will appear. Verify that the text "This image is decorative only" appears next to a checkbox. Verify that the text entry for the description is a textarea form element. Verify that there is a count indicator below the textarea. It should read "0 / 125". Enter text in the textarea. The counter should reflect the number of characters typed. Keep entering text until you have entered more than 125 characters. Verify that you cannot enter more than 125 characters.

    Description

      The Atto image plugin needs the textbox for submitting alt text description to be changed to a textarea with a maximum of 125 characters. Should have a character count visible whilst typing.

      The checkbox for ignoring alt text or not, “Description not necessary” should be “This image is decorative only”.

      This is to help meet accessibility rules.

      This code was migrated from the Brickfield Education Labs Editor accessibility efforts.

      Attachments

        Issue Links

          Activity

            People

              mchurch Mike Churchward
              mchurch Mike Churchward
              Bas Brands Bas Brands
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Janelle Barcega Janelle Barcega
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h