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

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

    XMLWordPrintable

Details

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • 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

    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

              bigmoodle Max Larkin
              bigmoodle Max Larkin
              Bas Brands Bas Brands
              Andrew Lyons Andrew Lyons
              Janelle Barcega Janelle Barcega
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 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 - 25 minutes
                  25m