kalmux1 / Huntmate

Your Ultimate Companion for Security Testing and Vulnerability Tracking
https://kalmux1.github.io/Huntmate/
MIT License
2 stars 0 forks source link

Checkbox Not Selecting When Clicking on Label Text #4

Open Jils31 opened 1 month ago

Jils31 commented 1 month ago

When clicking on the label text associated with a checkbox, the checkbox is not being selected as expected. Normally, clicking on either the checkbox itself or its label should toggle the checkbox, but in this case, the checkbox is only responding when clicked directly. Clicking the label has no effect.

Steps to Reproduce:

Navigate to the page/component containing the checkbox. Attempt to select the checkbox by clicking directly on the label text. Observe that the checkbox does not toggle. Clicking directly on the checkbox works as expected. Expected Behavior:

The checkbox should be selected/deselected when clicking on its associated label text, not just when clicking directly on the checkbox. Actual Behavior:

The checkbox is only toggled when clicked directly; clicking the label does nothing. Screencast from 2024-10-14 09-55-44.webm

I can fix this issue, please assign this issue to me ,Thanks!!