github / github/accessibility-scanner

"Invalid" failure on label creation

Aperta
#260 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
369
Fork
40
Merge medio
1g 9h
PR unite (30g)
10

Descrizione

Getting an "invalid" response and failure on label creation, had to turn off accesslint for now: https://github.com/helen/wp-themes-a11y-scanning/actions/runs/32175148610

`HttpError: Validation Failed: {"value":"accesslint rule: keyboard-accessible/scrollable-region","resource":"Label","field":"name","code":"invalid"} - https://docs.github.com/rest/issues/issues#create-an-issue`

Not clear to me if it's something in the label name or if it thinks it's spam or something else. In this case I realistically would rather just turn off labels, so that's #245

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with the accesslint workflow run linked in the issue and reproduce label creation using the reported label name. Check the GitHub validation response to determine whether the name is rejected, then make the label-creation path handle the cause; done means label creation succeeds without disabling accesslint, or the failure is clearly reported for the separate labels-off issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github, typescript
Ambito
accessibility, api
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Da chiarire
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.