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

Links in framed resource header don't load in _top if javascript is disabled.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.6, 2.0
    • 1.9.5
    • Libraries
    • None
    • UA with no javascript available.
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE
    • Easy

      When viewing a File Resource using Same window With frame, the breadcrumb links in the header frame load into the header, rather than _top - making the breadcrumb links essentially unusable.

      This is because the target attribute has been replaced with onclick="this.target='_top'", in pursuit of XHTML compliance - at the cost of extra reliance on javascript, arguably in conflict with WCAG 12.1 Graceful transformation of scripts (http://www.w3.org/TR/WCAG10-HTML-TECHS/#scripts

      I'm aware of the Without frame option, but the extra scrollbar which appears with it rather puts me off.

      NB: The target attribute is no longer depreciated in HTML5.

      (As discussed in http://moodle.org/mod/forum/discuss.php?d=132885)

            samhemelryk Sam Hemelryk
            balchd Dave Balch
            Jérôme Mouneyrac Jérôme Mouneyrac
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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