Skip to content

Table elements missing a11y_click_events_have_key_events compiler warnings #17963

@hyunbinseo

Description

@hyunbinseo

Describe the bug

<!-- a11y_click_events_have_key_events -->
<div onclick={() => {}}></div>
<span onclick={() => {}}></span>
<h1 onclick={() => {}}></h1>
<section onclick={() => {}}></section>

<!-- no warning -->
<tr onclick={() => {}}></tr>

Reproduction

https://svelte.dev/playground/4cbe7c2ed42b498089cfa612de9516fd?version=latest

Logs

System Info

playground

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions