github / github/accessibility-scanner

"Invalid" failure on label creation

Open
#260 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
369
Forks
40
Avg merge
1d 9h
Merged PRs (30d)
10

Description

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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript
Domain
accessibility, api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.