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

Limit the image description length and improve the alt text string

    XMLWordPrintable

    Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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

              Assignee:
              mchurch Mike Churchward
              Reporter:
              mchurch Mike Churchward
              Peer reviewer:
              Bas Brands
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

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