shoelace-style / webawesome-alpha

This repo only contains bug reports and questions for the Web Awesome alpha release for early backers.
20 stars 0 forks source link

No keyboard interaction possible with checkbox component in MS Edge #34

Open boenkemeyer opened 1 week ago

boenkemeyer commented 1 week ago

Describe the bug

Toggling a checkbox with the spacebar does not work when using Microsoft Edge.

A regular checkbox would toggle when the control is focused and pressing the space bar. (see here: https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_checkbox)

When I focus the wa-checkbox and press space, the checkbox will be highlighted, but not toggled.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://backers.webawesome.com/docs/components/checkbox with Microsoft Edge
  2. Select any checkbox
  3. Prace Space

Browser / OS

claviska commented 6 days ago

This is working fine for me in the latest version of Edge. In fact, the component uses a native <input type="checkbox"> internally and we're not doing anything funny with key handlers, so I'm surprised you're seeing this behavior.

Do you have any browser extensions that might be causing this?

CleanShot 2024-06-26 at 09 09 19@2x

KonnorRogers commented 1 day ago

Tested on Windows 11 + Edge 126. Spacebar works for me. As @claviska , any browser extensions you have running that may be interfering?