chore: link checkbox labels to their inputs on the notification provider form

Open
#2,140 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@Wikid82 is already working on this.

Since Dec 3, 2026.

Assessment

This issue has not been assessed yet.

Description

crowdsec frontend low security

The notification provider form's security event checkboxes (WAF, access list, rate limit, and the other notification-kind checkboxes) have their <label> as a sibling element with no id/htmlFor connection to the corresponding <input>, so the checkboxes have no accessible name for assistive technology or role-based test locators.

Found while implementing the CrowdSec checkbox for #2132, which was given a proper id/htmlFor pairing and does not have this issue.

Where: frontend/src/pages/Notifications.tsx, the checkbox group for provider notification kinds.

Suggested approach: add an id to each checkbox <input> and a matching htmlFor on its <label>, following the pattern already used for the CrowdSec checkbox added in #2132's fix.

Dominant language
Go
Stars
17
Forks
2
Avg merge
1h 42m
Merged PRs (30d)
173

Getting set up

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 Wikid82/Charon

All issues in Wikid82/Charon

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.