Skip to content

[v11.0.0] Keyboard modernization: event.key #484

@TarekRaafat

Description

@TarekRaafat

👍 Vote with a thumbs up if this matters to you.

What

Replace event.keyCode with event.key ("ArrowDown", "ArrowUp", "Enter", "Tab", "Escape") in src/controllers/listController.js.

Why

event.keyCode is deprecated. event.key is the modern standard, more readable, and consistent across browsers and keyboard layouts.

Breaking change

Consumers overriding keyboard events with keyCode-based logic must migrate to event.key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestroadmapTracked in the roadmapv11.0.0Planned for v11.0.0

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions