title: How to fix 'Static HTML elements with event handlers require a role.'?
body: <p>My reactjs styledcomponent contains this code:</p>
  
  <pre><code>&lt;a styling="link" onClick={() =&gt; this.gotoLink()}&gt;
    &lt;SomeComponent /&gt; 
  &lt;/a&gt;
  </code></pre>
  
  <p>This works fine but the eslint is complaining:</p>
  
  <pre><code>Static HTML elements with event handlers require a role.
  </code></pre>
  
  <p>How can I fix this error?</p>