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

Change the italics plugin to use <em> instead of <i> for accessibility

XMLWordPrintable

    • 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 italics 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 <em> tags instead of <i> 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 italics 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 <em> tags instead of <i> tags

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

            bigmoodle Max Larkin
            bigmoodle Max Larkin
            Bas Brands Bas Brands
            Andrew Lyons Andrew Lyons
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 35 minutes
                35m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.