Skip to content

a11y-mouse-events-have-key-events warning when using focusin/focusout #8089

Description

@f-elix

Describe the bug

I get an IDE warning for a11y-mouse-events-have-key-events when using mouseover and mouseout events along with focusin and focusout. In my opinion they should be treated the same as focus and blur for the purpose of this warning.

Reproduction

https://svelte.dev/repl/7caf1284da9c410eb6d20f8bb0293749?version=3.53.1

Logs

No response

System Info

System:
    OS: macOS 12.6
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 28.23 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  Browsers:
    Chrome: 107.0.5304.121
    Firefox: 107.0.1
    Safari: 16.0
  npmPackages:
    svelte: 3.53.1 => 3.53.1

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