Add `cursor: not-allowed` to `label:has(input[disabled])`

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

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
78/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
css
Domain
frontend

Research direction

Search the stylesheet for the existing cursor: not-allowed rule on disabled inputs and the selector handling disabled controls. Extend the styling to labels matching label:has(input[disabled]), then verify that wrapped disabled radio and checkbox inputs show the cursor on both the input and its label.

Written by the indexing model from the issue text.

Description

visual

When wrapping <input type=radio|checkbox> in a <label>, clicking the label activates the <input>, but if the input is disabled we only display cursor: not-allowed on the input itself.

Dominant language
CSS
Stars
798
Forks
29
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from bigskysoftware/missing

All issues in bigskysoftware/missing

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.