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

Accessibility: IE loses focus when navigating between screens using the keyboard

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 2.9.0, 10.5
    • Fix Version/s: None
    • Component/s: Accessibility, Portal, Reference
    • Environment:
      Win 7, IE9
      Sakai 2.9 QA3; Sakai tags/2.9.0-rc02 (Kernel 1.3.0-rc02)- Server qa3-us
    • Previous Issue Keys:
      SAM-2042

      Description

      When using the keyboard to navigate the student view of an assessment in IE9, focus is lost when navigating from the test title in the assessment list and the Begin Assessment screen and again wen navigating from the ToC link on a questions page and the ToC itself. This problem requires the user to tab through all the controls in IE and Sakai Portal interface before reaching the desired screen controls.

      The problem is illustrated in this screencast:

      http://www.screencast.com/users/lynnward40/folders/Snagit/media/7ea8d94a-d52d-4d51-96b6-4805053f2469

      I shared the ToC issue to Brian Richwine and he observed the following:

      I noticed the following onload event handler on the body element of the tool. When does the focus_path value get set?
      <body onload="hideUnhideAllDivsExceptFirst('none');;setMainFrameHeight('Mainfd05693ex387ex4ed9x98f2xd562d2898782');setFocus(focus_path);">

      I'm wondering if the above call to setFocus could be used to set focus to either the "Show/Hide Remaining Time" button or the first link of the "hideDivision" class if it's not a timed assessment. Otherwise, the behavior could be solved with something like this:

      <!--[if IE]>
      <script>
      $(document).ready(function(){
      try {
      if($("#remText").length)

      { $("input[type=button]").first().focus(); }

      else

      { $("a.hideDivision").first().focus(); }

      } catch(ex) {}
      });
      </script>
      <![endif]-->

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  samigoteam SAMIGO TEAM (Inactive)
                  Reporter:
                  leward@iupui.edu Lynn E. Ward
                  Votes:
                  1 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration