Repository navigation
docs: add an accessibility statement and barrier form (DOX-G20) - #596
craig-o-curtis wants to merge 1 commit into
Conversation
Add ACCESSIBILITY.md and an issue form for reporting a barrier on the docs site. The form applies the `accessibility` label. The path rules in affected.mjs and pr-meta-plan.mjs treat the statement as a root document. The gate notes no longer say a test holds --gmt-ice-dim at 7:1.
baldurpan
left a comment
There was a problem hiding this comment.
I read the statement, the issue form and the rule changes at a3695a3. The claims in the statement hold. I checked them against the weekly a11y-axe workflow, the advisory status of the PR job in ci.yml, the jsx-a11y and stylelint configs, and the forced-colours and reduced-motion code. The statement also avoids a conformance claim, as #592 asked. The form makes only page, task and happened required, which keeps the personal fields optional.
Two comments, both about how a reader gets to the barrier route.
|
|
||
| ## Report a barrier | ||
|
|
||
| [Open the accessibility form](https://github.com/northguild/gmt/issues/new?template=accessibility.yml). |
There was a problem hiding this comment.
Every route in this file needs a GitHub account: the form here at line 88, the same link at line 5, and issues/new/choose at line 109. People who meet a barrier on the docs site are also the people most likely to find signing up for GitHub, and using its UI, hard, and the statement does not say an account is needed.
Could the section say a GitHub account is needed for the form, and give one route that works without one? An email address is the usual one. .github/ISSUE_TEMPLATE/config.yml already offers Discord, but that needs an account too, so it does not fill the gap on its own.
|
|
||
| ## Scope | ||
|
|
||
| This statement covers the documentation site at <https://northguild.dev/gmt/>, with its guides, |
There was a problem hiding this comment.
This covers https://northguild.dev/gmt/, but nothing on that site links to the statement or the form. I searched for ACCESSIBILITY.md and template=accessibility outside this file and found only tests, tier-2-gates.md and the changeset. The site's social links in apps/dox/astro.config.mjs (lines 176–187) are GitHub and Discord. So a reader who hits a barrier on the site has to know to look in the repository.
#592 asked only for the file in the repository, so this is a suggestion for here or a follow-up issue: a footer link from the site to the statement would let that reader find it.
Closes #592
What changes
ACCESSIBILITY.mdsays what the docs site aims for (WCAG 2.2 AA, as a target), what we test, what we have not tested, and what happens after a report. It makes no conformance claim.accessibility.yml, asks for the page, the task and what happened. The other fields are optional. It applies the newaccessibilitylabel.affected.mjsandpr-meta-plan.mjstreat the statement as a root document: it runs no check and is labelleddocumentation.tier-6-runbooks.mdno longer says a test holds--gmt-ice-dimat 7:1.tier-2-gates.mdsays a change to what a gate covers updates the statement.The form link opens the template chooser until this is on
main.Checks
affected.test.tsandplan.test.tspass; the new rows failed before the rule edits.oxfmt --check,deps check,changeset:statusandui-standardspass.pnpm run validate, lint and typecheck were not run locally. CI runs every check, becausescripts/libchanged.test-markersfails onmainsince fix(dox): press the Sunshine inset frames at rest, and slim the Dox CI #595, for two files this PR does not touch.