Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-30529

can't dismiss user dropdown in lessons; accessibility issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 11.0, 12.0
    • Component/s: morpheus
    • Labels:
      None
    • 11 status:
      Resolved

      Description

      In lessons, if you pull down the menu from then user icon in the upper right you can't close it.

      I never found the cause, but a fix is in morpheus.scripts.min.js, in function toggleUserNav,

      change

      a.on("click",function(){$(b.target).trigger("click")

      to

      a.on("click",function(){$('.js-toggle-user-nav .Mrphs-userNav__drop-btn').trigger("click")

      There's already dependency upon specific classes in that function, so I don't think this should be an issue.

      -------------------

      While you're looking at it: this isn't a reasonable way to dismiss in a screen reader. The standard approach is to bind the ESC key to close the menu. But I think I'd also put a close button in the upper right of the box, as everything else in Sakai does.

      In general I recommend using jquery dialogs rather than rolling your own.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  mkelsey Molly Kelsey (Inactive)
                  Reporter:
                  hedrick Charles Hedrick
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration