Bug <th> tag not a requirement for a html table

Language: HTML
Rule: Bug
Why: Unrequired tag
Product: Sonarqube

(from email_template.html hence the inline styling)

  <table style="
    width: 90%;
    max-width: 700px;
    background-color: #fff;
    border: 1px solid #CFD2D7;
    margin: auto;
    border-radius: 6px;
    padding: 50px;
    padding-bottom: calc(50px - 16px);
  ">
    <tr>
      <td>
        <h1 style="
          font-family: 'Blacker-Pro-Display';
Unexpected missing generic font family
          font-size: 32px;
          font-weight: 500;
          color: #0E1E36;
          margin: 0;
          margin-bottom: 30px;
        ">{{heading}}</h1>
      </td>
    </tr>
</table>

Hi,

Welcome to the community!

Thanks for this report. What version of SonarQube or SonarLint are you running? Or are you seeing this in SonarCloud?

 
Thx,
Ann