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

Offen
#2,140 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@Wikid82 arbeitet bereits daran.

Seit 03.12.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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.

Vorherrschende Sprache
Go
Sterne
17
Forks
2
Ø Merge
1 Std. 42 Min.
Gemergte PRs (30 T.)
173

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Wikid82/Charon

Alle Issues in Wikid82/Charon

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.