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

"collapse/expand all" buttons don't work with keyboard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.11.7
    • 4.0
    • Themes
    • MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-74073-master-2
    • Hide

      Note: Test on all supported browsers

      Expand/Collapse button/link behaviours

      1. When the button/link receives focus (e.g. by tabbing to it), there should be a blue focus outline around it.
      2. Toggled by either Space or Enter key
      3. When the section(s) it controls expands, the button link should have "aria-expanded" set to true. Otherwise, it's false. (Inspect the expand/collapse button/link on your browser's dev tools)

      Test

      Test the following collapse/expand button links and confirm that they behave as described in the previous section.

      Master and 311
      1. Collapse all/Expand all button link on a form (e.g. Edit profile page)
      2. Collapse/Expand section button on a form (rounded chevron button on master, down/right arrow on 311)
      Master only
      1. Collapse all/Expand all button link on the course homepage
      2. Collapse/Expand section button (rounded chevron button) on the course homepage
      Show
      Note: Test on all supported browsers Expand/Collapse button/link behaviours When the button/link receives focus (e.g. by tabbing to it), there should be a blue focus outline around it. Toggled by either Space or Enter key When the section(s) it controls expands, the button link should have " aria-expanded " set to true. Otherwise, it's false. (Inspect the expand/collapse button/link on your browser's dev tools) Test Test the following collapse/expand button links and confirm that they behave as described in the previous section. Master and 311 Collapse all/Expand all button link on a form (e.g. Edit profile page) Collapse/Expand section button on a form (rounded chevron button on master, down/right arrow on 311) Master only Collapse all/Expand all button link on the course homepage Collapse/Expand section button (rounded chevron button) on the course homepage

      This is a regression caused by MDL-72737.
      1. focus outline on "expand all" is lost and not it has 100% width
      2. pressing Space doesn't work anymore there

        1. MDL-74073 testing.webm
          4.84 MB
          Angelia Dela Cruz
        2. screenshot-1.png
          103 kB
          Shamim Rezaie

            jpataleta Jun Pataleta
            rezaie9 Shamim Rezaie
            Ferran Recio Ferran Recio
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 35 minutes
                1d 35m

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