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

Change the strikethrough plugin to use <del> instead of <strike> for accessibility

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Ensure you are using the Atto Editor
      • Navigate to Profile>Edit Profile
      • Type in some text in the description text area
      • Highlight the text and click on the strikethrough button
      • Click 'Update Profile'
      • Navigate to Preferences>Editor Preferences
      • Set Text Editor to 'Plain text area'
      • Click 'Save Changes'
      • Click on 'Edit Profile'
      • Verify that you are now seeing <del> tags instead of <strike> tags
      Show
      Ensure you are using the Atto Editor Navigate to Profile>Edit Profile Type in some text in the description text area Highlight the text and click on the strikethrough button Click 'Update Profile' Navigate to Preferences>Editor Preferences Set Text Editor to 'Plain text area' Click 'Save Changes' Click on 'Edit Profile' Verify that you are now seeing <del> tags instead of <strike> tags
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Accessibility rules require that strikethrough text use the <del> tag. Currently the strikethrough atto plugin uses the <strike> tag if the browser forces it. Change the plugin to ensure only the <del> tag is used. This code was migrated from the Brickfield Education Labs Editor accessibility efforts.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bigmoodle Max Larkin
              Reporter:
              bigmoodle Max Larkin
              Peer reviewer:
              Bas Brands
              Integrator:
              Andrew Nicols
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              8 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 - 25 minutes
                  25m