github / github/accessibility-scanner
"Invalid" failure on label creation
- Vorherrschende Sprache
- TypeScript
- Sterne
- 369
- Forks
- 40
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 10
Beschreibung
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
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github, typescript
- Bereich
- accessibility, api
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 48/100