Clipboard: Explain when copying is unavailable #926

Open
opened 2026-10-02 17:40:17 +00:00 by kayg · 0 comments
Owner

Rule: use plain words for errors. Blocked is not a clear clipboard fallback.

Findings:

  • apps/web/src/lib/auth/components/RecoveryKeyWords.svelte:38: Copy is blocked here. Download the key or write the words down. Say Copy is not available here. Download the key or write the words down.
  • apps/web/src/routes/settings/admin/UsersGroup.svelte:124: Copy is blocked here. Select the link to copy it. Say Copy is not available here. Select the link and copy it.

Expected: when the browser cannot copy, explain the next step in plain words. Keep the current download and selection fallback actions.

Test idea: make the clipboard action fail in both screens. Check the visible and screen-reader messages, and confirm the fallback still works.

Rule: use plain words for errors. `Blocked` is not a clear clipboard fallback. Findings: - `apps/web/src/lib/auth/components/RecoveryKeyWords.svelte:38`: `Copy is blocked here. Download the key or write the words down.` Say `Copy is not available here. Download the key or write the words down.` - `apps/web/src/routes/settings/admin/UsersGroup.svelte:124`: `Copy is blocked here. Select the link to copy it.` Say `Copy is not available here. Select the link and copy it.` Expected: when the browser cannot copy, explain the next step in plain words. Keep the current download and selection fallback actions. Test idea: make the clipboard action fail in both screens. Check the visible and screen-reader messages, and confirm the fallback still works.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal#926
No description provided.