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

Aberta
#2,140 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@Wikid82 já está trabalhando nisso.

Desde 3/12/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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.

Linguagem predominante
Go
Estrelas
17
Forks
2
Merge médio
1h 42min
PRs com merge (30d)
173

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Wikid82/Charon

Todas as issues de Wikid82/Charon

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.