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

Redundant alt text for preconfigured LTI tools in activity chooser

XMLWordPrintable

    • MOODLE_37_STABLE
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • MDL-68014-master
    • Hide
      1. Create a pre-configured LTI tool using the following details:
        1. Toolname - TestTool
        2. Tool URL - www.google.com.au
        3. Tool configuration usage - "Show it in both activity chooser and as a preconfigured tool"
        4. Icon URL(accessed by clicking the 'Show more' link) - https://dreamix.eu/blog/wp-content/uploads/2017/05/20150224test644-1508x706_c.jpg
      2. Go to a course
      3. Turn editing on and add a new activity.
      4. Inspect the preconfigured tool using an accessibility tool (e.g. axe, wave)
      5. Expected: There should be no accessibility issues - it should not report alt text on the icon
      Show
      Create a  pre-configured LTI tool  using the following details: Toolname - TestTool Tool URL - www.google.com.au Tool configuration usage - "Show it in both activity chooser and as a preconfigured tool" Icon URL(accessed by clicking the 'Show more' link) - https://dreamix.eu/blog/wp-content/uploads/2017/05/20150224test644-1508x706_c.jpg Go to a course Turn editing on and add a new activity. Inspect the preconfigured tool using an accessibility tool (e.g. axe, wave) Expected: There should be no accessibility issues - it should not report alt text on the icon
    • 1
    • Activity Sprint 8, Activity Sprint 9

      To replicate:

      1. Create a pre-configured LTI tool and show it in both activity chooser and as a preconfigured tool.
      2. Go to a course
      3. Turn editing on and add a new activity.
      4. Inspect the preconfigured tool using an accessibility tool (e.g. axe, wave)
      5. Expected: There should be no accessibility issues
      6. Actual: A redundant alt text issue is being shown. E.g. on axe,

        Issue description
        Ensure image alternative is not repeated as text
         
        Element location
        img[alt="Test\ tool\ provider"]
         
        Element source
        <img src="http://lti.tools/test/images/icon.png" alt="Test tool provider" class="icon">
         
        To solve this violation, you need to:
        Fix the following:
        Element contains <img> element with alt text that duplicates existing text
        

        1. 37.png
          70 kB
          Mathew May
        2. 38.png
          70 kB
          Mathew May
        3. Master.png
          64 kB
          Mathew May

            peterdias Peter Dias
            jpataleta Jun Pataleta
            Jake Dallimore Jake Dallimore
            Adrian Greeve Adrian Greeve
            Mathew May Mathew May
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 37 minutes
                2h 37m

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