signup: say what the anti-spam check is, in both languages #163
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-web#163
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Why
The sign-up form shows a widget labelled "Anti-spam check" and nothing else. A visitor who has met
the usual third-party image puzzles has no way to know that this one is self-hosted, image-free and
does no tracking, which is a point in our favour that we are currently keeping to ourselves.
What to add
A permanent description inside the existing
.captchawrapper(
src/components/signup-form.astro:283-301), between the label paragraph and<cap-widget>:calculation, a proof of work, which takes a few seconds. It runs on Bitborg's own servers in
Sweden, sets no cookies and tracks nothing."
webbläsare en liten beräkning, ett arbetsbevis (proof of work), vilket tar några sekunder. Den
körs på Bitborgs egna servrar i Sverige, sätter inga cookies och spårar ingenting."
New key
signup.captchaDescriptionin both dictionaries insrc/i18n/ui.ts.House term (operator decision): the Swedish term is "arbetsbevis (proof of work)" — the
Swedish word with the English in parentheses on first use, per the introduce-a-term rule. It is not
in the Forgejo
sv-SEglossary, so add it todocs/content-style.mdas part of this change so thenext writer does not have to re-decide it.
Also add a
<noscript>line: the hiddencap-tokenfield is created by the widget at runtime andthe solver is WebAssembly, so with JavaScript off sign-up cannot succeed at all — and today the
only way to find that out is to submit and be told the check failed.
så hjälper vi dig."
Accessibility
aria-describedbyon the wrapper<div class="captcha" role="group">, not on<cap-widget>— the custom element has no ARIA role of its own and itscontrol lives in the shadow root.
src/components/signup-form.astro:33-38) so theexisting conditional error id is kept, not replaced.
aria-describedbypointing atan id that did not exist; do not reintroduce that shape.
aria-live. It is static text; only the error notices announce themselves.:166-183).Done when
description.
pnpm lang-checkpasses and the copy has been read in both languages.Part of gitborg/gitborg-docs#69.
supernaut refererade till detta ärende från bitborg/bitborg-docs2026-08-02 12:32:47 +00:00