You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(padToggle): require defaultLabel for screen-reader fallback
The empty <label data-l10n-id="..."></label> meant screen readers had
nothing to announce while html10n was still loading or if a translation
failed to fetch. Native Etherpad's templates always render English text
inside the label tag for exactly this reason; the helper was missing
that safety net.
Make defaultLabel a required config field. Helper now renders
<label data-l10n-id="..." for="...">Default text</label> with both the
defaultLabel and l10nId HTML-escaped to prevent injection. html10n still
overwrites the text the moment it loads in the user's locale.
Validate on both server and client factories so a misconfigured plugin
fails loudly on import rather than silently shipping a nameless
checkbox.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments