luwes / luwes/selectlist-polyfill

Selectlist does not get focus on label click

Open Beginner friendly
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
59
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Clicking on a label associated with a selectlist does nothing.
[Reproduction](https://stackblitz.com/edit/web-platform-t78vc1?file=index.html) - click on the label before the selectlist.

Expected behavior:
It should focus the button inside the selectlist.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked StackBlitz reproduction and trace how the polyfill handles a label associated with a selectlist. Update the relevant focus behavior so clicking the label focuses the selectlist's button, then verify the reproduction shows the expected focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.