docs: def get_html(self) -> str:
          """Return complete report as a HTML string."""
          data = self.getdoc()
          num_checks = 0
          body_elements = []
  
          # Order by section first...
          for section in data["sections"]:
              section_name = html.escape(section["key"][0])
              section_stati_of_note = (
                  e for e in section["result"].elements() if e != "PASS"
              )
              section_stati = "".join(
                  EMOTICON[s] for s in sorted(section_stati_of_note, key=LOGLEVELS.index)
              )
              body_elements.append(f"<h2>{section_name} {section_stati}</h2>")
  
              checks_by_id: Dict[str, List[Dict[str, str]]] = collections.defaultdict(
                  list
              )
              # ...and check second.
              for cluster in section["checks"]:
                  if not isinstance(cluster, list):
                      cluster = [cluster]
                  num_checks += len(cluster)
                  for check in cluster:
                      checks_by_id[check["key"][1]].append(check)
              for check, results in checks_by_id.items():
                  check_name = html.escape(check)
                  body_elements.append(f"<h3>{results[0]['description']}</h3>")
                  body_elements.append(f"<div>Check ID: {check_name}</div>")
                  for result in results:
                      if "filename" in result:
                          body_elements.append(
                              html5_collapsible(
                                  f"{EMOTICON[result['result']]} <strong>{result['filename']}</strong>",
                                  self.html_for_check(result),
                              )
                          )
                      else:
                          body_elements.append(
                              html5_collapsible(
                                  f"{EMOTICON[result['result']]} <strong>Family check</strong>",
                                  self.html_for_check(result),
                              )
                          )
  
          body_top = [
              "<h1>Fontbakery Technical Report</h1>",
              "<div>If you think a check is flawed or have an idea for a check, please "
              f" file an issue at <a href='{ISSUE_URL}'>{ISSUE_URL}</a> and remember "
              "to include a pointer to the repo and branch you're checking.</div>",
          ]
  
          if num_checks:
              results_summary = [data["result"][k] for k in LOGLEVELS]
              body_top.append(summary_table(*results_summary, num_checks))
  
          omitted = [l for l in LOGLEVELS if self.omit_loglevel(l)]
          if omitted:
              body_top.append(
                  "<p><strong>Note:</strong>"
                  " The following loglevels were omitted in this report:"
                  f" {', '.join(omitted)}</p>"
              )
  
          body_elements[0:0] = body_top
          return html5_document(body_elements)