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

Course homepage: Editing mode on: Accessibility issues

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Test with both Boost and Classic themes

      Requirement

      You'd need the WAVE browser extension for this test

      Test 1

      1. Log in as admin
      2. Go into a course and turn editing on
      3. View source of the page (usually ctrl+u)
      4. Copy the source
      5. Visit https://validator.w3.org/nu/
      6. Set the check by field to 'text input' and replace the content of the text editor with what you copied on step 4
      7. Press the 'check' button
      8. Press the 'message filtering' button
      9. Verify that you don't see any of the following errors:
        • Stray end tag input
        • Duplicate attribute id
        • Element div not allowed as child of element span in this context (master only)
        • Attribute new-sections not allowed on element a at this point
      10. Verify that you don't see the following warning:
        • The ___ role is unnecessary for element ___

      Test 2

      1. Log in as admin
      2. Go to 'Site administration > Courses > Course default settings' and take note of the maxsections setting
      3. Create a new course in the Topics format with 5 topics (sections)
      4. Enter the course and turn editing on
      5. Click on the 'Add topics' link at the bottom of the course page
      6. Verify that the 'number of sections' field is limited to the value of maxsections from step 2 minus 5

      Test 3

      1. Log in as admin
      2. Go into site home
      3. Using the cog icon go to More... > Question bank > Questions
      4. Click on the 'Create a new question' button
      5. Press the WAVE icon on your browser
      6. Verify that you do not see any 'Orphaned form label' warning

      Test 4 (versions 3.7 and 3.8 only)

      1. Log in as admin
      2. Go into a course and turn editing on
      3. Click on one of the 'Add an activity or resource' links
      4. Press the WAVE icon on your browser.
      5. Verify that you do not see any 'Orphaned form label' warning
      Show
      Test with both Boost and Classic themes Requirement You'd need the  WAVE browser extension  for this test Test 1 Log in as admin Go into a course and turn editing on View source of the page (usually ctrl+u) Copy the source Visit  https://validator.w3.org/nu/ Set the check by field to 'text input' and replace the content of the text editor with what you copied on step 4 Press the 'check' button Press the 'message filtering' button Verify that you don't see any of the following errors: Stray end tag input Duplicate attribute id Element div not allowed as child of element span in this context  (master only) Attribute new-sections not allowed on element a at this point Verify that you don't see the following warning: The ___ role is unnecessary for element ___ Test 2 Log in as admin Go to 'Site administration > Courses > Course default settings' and take note of the maxsections setting Create a new course in the Topics format with 5 topics (sections) Enter the course and turn editing on Click on the 'Add topics' link at the bottom of the course page Verify that the 'number of sections' field is limited to the value of maxsections from step 2 minus 5 Test 3 Log in as admin Go into site home Using the cog icon go to More... > Question bank > Questions Click on the 'Create a new question' button Press the WAVE icon on your browser Verify that you do not see any 'Orphaned form label' warning Test 4 (versions 3.7 and 3.8 only) Log in as admin Go into a course and turn editing on Click on one of the 'Add an activity or resource' links Press the WAVE icon on your browser. Verify that you do not see any 'Orphaned form label' warning
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:
    • Pull Master Branch:
      MDL-67970-master
    • Story Points:
      1
    • Sprint:
      International 3.9 - Sprint 6, International 3.9 - Sprint 7

      Description

      Issues
      A
      • Missing label. See Fig. 7.01.png
      • Errors were found using W3C Nu Validation Service and filtered to indicate WCAG errors only.
      AA
      • Colour contrast #25
      AAA
      • There are multiple "More help" links which all point to different locations.
      Affected guidelines
      A
      • Labels or Instructions
        3.3.2 Labels or instructions are provided when content requires user input
      • Parsing:
        4.1.1 In content implemented using markup languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features. Note: Start and end tags that are missing a critical character in their formation, such as a closing angle bracket or a mismatched attribute value quotation mark are not complete.
      AA
      • Non-text Contrast:
        1.4.11 The visual presentation of the following have a contrast ratio of at least 3:1 against adjacent color(s):
        User Interface Components
        Visual information required to identify user interface components and states, except for inactive components or where the appearance of the component is determined by the user agent and not modified by the author;
        Graphical Objects
        Parts of graphics required to understand the content, except when a particular presentation of graphics is essential to the information being conveyed.
      AAA
      • Link Purpose (Link Only):
        2.4.9 A mechanism is available to allow the purpose of each link to be identified from link text alone, except where the purpose of the link would be ambiguous to users in general.
      Affected browsers
      • All

        Attachments

          Activity

            People

            Assignee:
            rezaie9 Shamim Rezaie
            Reporter:
            rezaie9 Shamim Rezaie
            Peer reviewer:
            Jun Pataleta
            Integrator:
            Adrian Greeve
            Tester:
            David Mudrák (@mudrd8mz)
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/May/20

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 3 hours, 45 minutes
                3d 3h 45m