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

Help popup always has title 'Help', should have title depending on content

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 2.0
    • Component/s: Accessibility
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      This was reported to me by our accessibility team. I haven't actually asked them why it is an accessibility problem, but it's certainly not ideal if all the help documents are just titled 'Help' (as they are).

      The attached patch changes help to work as follows:

      1) If you include in your help file, <title>something</title>, then the HTML title becomes 'Help - something'.

      2) If your help file has any heading e.g. <h1>Whatever</h1>, then the HTML title becomes 'Help - Whatever' (for the first heading)

      3) If your help file has no headings either then the title is still just 'Help'.

      This patch could be applied to 1.9 but I'm not particularly recommending that, HEAD would be ok...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              quen Sam Marshall
              Reporter:
              quen Sam Marshall
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10