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

Atto screenreader helper contains dead code

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-46046-master
    • Hide
      1. Open a page with atto
      2. Enter some images and links in the editor
      3. Open the accessibility/screenreader helper
      4. Make sure clicking on a link selects it in the editor and sets the focus
      5. Make sure clicking on an image selects it and sets the focus on the editor
      6. Make sure closing the dialogue restores the focus on toolbar
      Show
      Open a page with atto Enter some images and links in the editor Open the accessibility/screenreader helper Make sure clicking on a link selects it in the editor and sets the focus Make sure clicking on an image selects it and sets the focus on the editor Make sure closing the dialogue restores the focus on toolbar

      I noticed that the variable _displayedWarnings, and the onClick delegate are not used at all.

      The variable is a legacy of the accessibility checker, as well as the delegate. Elements clicked on the dialogue are using their own callbacks.

            fred Frédéric Massart
            fred Frédéric Massart
            Andrew Lyons Andrew Lyons
            Damyon Wiese Damyon Wiese
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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