Repository navigation
feat: enforce the accessibility report and credit rules - #277
Merged
Merged
Conversation
Two workflows for Open Source Accessibility Framework, Community actions 2 and 4. accessibility-reports.yml acknowledges each report, reminds the accessibility owner after 5 business days without a maintainer reply, reopens a report closed without an outcome, and invites the reporter to confirm a fix. accessibility-credits.yml asks each outside contributor once how they want to be credited and records their own answer as a label; a11y-credits.mjs prints the credits block, now a step in the quarterly review issue's checklist. The logic is .github/scripts/a11y-community.mjs, identical across the Community Access repositories; its tests run in npm run test:automation. Framework progress is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PmRBrUTuhzYnQBFxUCN6Vr
Contributor
Peer Review AssignedHi @accesswatch! Your PR has been automatically paired with @taylorarndt for peer review. For @taylorarndt:This is a great opportunity to practice code review skills! Here's what to look for: Content Quality:
Accessibility:
Documentation:
Review Guidelines:
Resources: Pairing by Learning Room Grouping Engine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two enforced rules for Open Source Accessibility Framework, Community actions 2 (respond constructively to accessibility reports) and 4 (recognize contributions publicly), as asked by @accesswatch. The same files are installed in accessibility-agents, quill, glow and git-going-with-github; only
.github/a11y-community.jsondiffers.Rule 1:
accessibility-reports.ymlA report is an issue with the
accessibilitylabel, opened on or after 2026-10-29 (installDate) by someone who is not OWNER, MEMBER, COLLABORATOR or a bot.a11y: awaiting response.a11y: awaiting responseanda11y: response overduecome off.a11y: response overdueand one reminder mentioning the owner.closedtimeline event with a commit, a cross-referenced merged pull request, or a maintainer comment with anOutcome:line after the reporter's last comment. Otherwise it is reopened, with one explanation. Closed as completed with an outcome: one validation invite anda11y: validation requested. Not planned or duplicate: outcome needed, no invite.Rule 2:
accessibility-credits.ymlaccessibilitylabel, or one whose body closes a same-repository accessibility issue, from a non-maintainer; and a report closed as completed with an outcome: one credit question, labelcredit: asked, never twice on one item.credit: @handle,credit: name <Name>,credit: anonymousorcredit: no, givingcredit: yes,credit: anonymousorcredit: noand a short confirmation. A chosen name is stored only in the bot's confirmation, as<!-- a11y-credit: choice="name" name="..." reply="..." -->. A later reply changes the choice.node .github/scripts/a11y-credits.mjs --since <tag-or-date>prints the release-notes block (code and other contributions, described by item title), and warns on standard error aboutcredit: askeditems unanswered after 14 days.Design notes
.github/scripts/a11y-community.mjsis dependency-free and takes an injected client; workflows run it throughactions/github-script, the release script through plain Node withfetch.awaitingwhere a maintainer did reply).contents: read,issues: write,pull-requests: readfor reports. The credits workflow haspull-requests: write, because GitHub requires it to comment on and label a pull request; it runs onpull_request_target, checks out only the base branch's.githubfolder and runs no pull request code. No secrets beyondGITHUB_TOKEN.a11y:and fourcredit:) were created in the repository with descriptions.In this repository
npm run test:automationnow also runs.github/scripts/__tests__/*.test.mjs(134 tests pass locally, 29 of them new); the Automation Tests workflow already runs it on.github/scripts/**changes. actionlint 1.7.12 is clean.html/ACCESSIBILITY.htmlrebuilt bynpm run build:html; Authoritative Sources sections unchanged andvalidate:authoritative-sourcespasses; the docs accessibility check reports no new findings.accessibility-review-reminder.ymlopens, pre-filled with the quarter's start date.Generated by Claude Code