View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012024 | Taler | other | public | 2026-11-10 23:42 | 2026-11-18 17:07 |
| Reporter | bot-cg [agent] | ||||
| Communicator | CM_7 | ||||
| Priority | normal | Severity | trivial | ||
| Status | closed | Resolution | fixed | ||
| Target Version | 1.6 | Fixed in Version | 1.6 | ||
| Summary | 0012024: Web UIs (bank, wallet, exchange AML/KYC, challenger, auditor, web-util forms): dialogs and single-purpose forms open without keyboard focus on the obvious field | ||||
| Description | Companion to the merchant-portal issue of the same audit, covering the other web UIs in taler-typescript-core (children of this issue; the Anastasis web UI cases are filed in the Anastasis project and related to this one). Notable: the web-util form framework's `focus` flag has been inert since 15f551608 commented out the focus call in InputLine (it had made every field re-grab focus on each keystroke). The fix focuses the first fillable field once on mount; the AML, KYC and challenger form fixes depend on it. In the bank, the MFA dialog left focus on the 'Send transfer' button behind it, so Enter re-submitted the operation; several bank pages lost their focus when a402cc1a2 stopped passing `focus`. In the challenger, the PIN field's inline ref re-focused it every second during the resend countdown. Why this keeps happening: Preact does not implement autoFocus. It only sets the HTML autofocus attribute, which browsers honour once per document (initial load), so in these single-page apps a field rendered later, such as a dialog, a wizard step or a new route, stays unfocused unless code calls focus() on mount. Several components accept a `focus` prop that nothing passes or nothing acts on. Each child issue describes one dialog/screen/component, with before/after screenshots and a patch. All fixes are on branch dev/bots/autofocus (durian); the commit ids are added as a note here. Rules followed: focus the only input of a PIN/code prompt; the first empty field of a create/edit form or step; the safe choice (Cancel) of a confirmation without input, never the destructive action; keep overview/list pages and review-and-pay steps unfocused; focus once on mount or step change, never on re-render. | ||||
| Tags | No tags attached. | ||||
| ID | Summary | Status | Locked by | Estimated effort (hours) |
|---|---|---|---|---|
| 0012025 | AML: 'Session locked' page does not focus the password field | closed | ||
| 0012026 | AML: 'Create session' (officer key creation) does not focus the password field | closed | ||
| 0012027 | AML: 'Find account' does not focus the account identifier field | closed | ||
| 0012028 | AML decision wizard: 'Case disposition' step does not focus the decision rationale | closed | ||
| 0012029 | AML decision wizard: 'Create custom measure' does not focus the Name field | closed | ||
| 0012030 | AML decision wizard: 'Add proposed rule' editor opens without focus | closed | ||
| 0012031 | Auditor: 'Suppress the row' confirmation does not move focus into the dialog | closed | ||
| 0012032 | Auditor: mobile navigation drawer opens without moving focus into it | closed | ||
| 0012033 | Auditor: 'Development settings' page does not focus the Auditor base URL field | closed | ||
| 0012034 | Bank: multi-factor authentication dialog leaves focus on the button behind the overlay | closed | ||
| 0012035 | Bank: 'Send bank transfer' page does not focus the recipient (or the reference when the recipient comes from the link) | closed | ||
| 0012036 | Bank: 'Withdraw to Taler Wallet' page does not focus the amount | closed | ||
| 0012037 | Bank: 'Cash out' page does not focus the transfer reference | closed | ||
| 0012038 | Bank (admin): 'New bank account' form does not focus the login username | closed | ||
| 0012039 | Bank: 'Update password' page does not focus the password field | closed | ||
| 0012040 | Bank: 'Delete account' confirmation does not focus the type-the-name input | closed | ||
| 0012041 | Bank (admin): 'New conversion rate class' does not focus the name, and its form would focus the description | closed | ||
| 0012042 | Bank: withdrawal confirmation dialog focuses its heading even when the user must type the cash amount or a password | closed | ||
| 0012043 | Challenger: code entry pulls focus back to the PIN field every second during the resend countdown | closed | ||
| 0012044 | Challenger: address entry form (email/phone/postal, initial and change) does not focus its first field | closed | ||
| 0012045 | Challenger: developer 'Create a verification session' form does not focus the client password (or redirect URL) | closed | ||
| 0012046 | KYC: opening a requirement's form does not focus its first field | closed | ||
| 0012047 | Wallet: Send money / Request money form does not focus the amount | closed | ||
| 0012048 | Wallet: Deposit to a bank account does not focus the amount | closed | ||
| 0012049 | Wallet: Withdraw screen's existing amount auto-focus never fires on #/withdraw | closed | ||
| 0012050 | Wallet: 'Enter a wallet link' page does not focus the link field | closed | ||
| 0012051 | Wallet: 'Create payment' (merchant payment template) form does not focus the first editable field | closed | ||
| 0012052 | Wallet: donation-receipt setup does not focus the field to fill in | closed | ||
| 0012053 | Wallet: Bank accounts 'Edit' / 'Add bank account' leave focus on the button; the opened form can be off-screen | closed | ||
| 0012054 | Wallet: shared ConfirmationDialog focuses an extra body action instead of Cancel (durability prompt) | closed | ||
| 0012055 | Wallet: '•••' overflow menu opens without moving focus into the menu | closed | ||
| 0012056 | Wallet demo: 'Scenarios' menu opens without moving focus into the menu | closed | ||
| 0012057 | web-util: Forms: `<FormUI focus>` and the per-field `focus` prop never focus anything | closed | 1 | |
| 0012058 | web-util: Terms of service form: 'Read terms' is not focused, and the terms reader moves focus back to its × button whenever the page re-renders | closed | ||
| 0012059 | web-util: Date fields: the calendar dialog opens with focus left behind the overlay, and closing it drops focus to the page body | closed | ||
| 0012060 | web-util: Header settings panel: closing it with × drops focus to the page body | closed | ||
| This issue (hours) | ||||
| Its children (hours) | 1 | |||
| Together (hours) | 1 | |||
Nothing is missing: the plan can be finished.
| parent of | 0012025 | closed | Taler | AML: 'Session locked' page does not focus the password field | |
| parent of | 0012026 | closed | Taler | AML: 'Create session' (officer key creation) does not focus the password field | |
| parent of | 0012027 | closed | Taler | AML: 'Find account' does not focus the account identifier field | |
| parent of | 0012028 | closed | Taler | AML decision wizard: 'Case disposition' step does not focus the decision rationale | |
| parent of | 0012029 | closed | Taler | AML decision wizard: 'Create custom measure' does not focus the Name field | |
| parent of | 0012030 | closed | Taler | AML decision wizard: 'Add proposed rule' editor opens without focus | |
| parent of | 0012031 | closed | Taler | Auditor: 'Suppress the row' confirmation does not move focus into the dialog | |
| parent of | 0012032 | closed | Taler | Auditor: mobile navigation drawer opens without moving focus into it | |
| parent of | 0012033 | closed | Taler | Auditor: 'Development settings' page does not focus the Auditor base URL field | |
| parent of | 0012034 | closed | Taler | Bank: multi-factor authentication dialog leaves focus on the button behind the overlay | |
| parent of | 0012035 | closed | Taler | Bank: 'Send bank transfer' page does not focus the recipient (or the reference when the recipient comes from the link) | |
| parent of | 0012036 | closed | Taler | Bank: 'Withdraw to Taler Wallet' page does not focus the amount | |
| parent of | 0012037 | closed | Taler | Bank: 'Cash out' page does not focus the transfer reference | |
| parent of | 0012038 | closed | Taler | Bank (admin): 'New bank account' form does not focus the login username | |
| parent of | 0012039 | closed | Taler | Bank: 'Update password' page does not focus the password field | |
| parent of | 0012040 | closed | Taler | Bank: 'Delete account' confirmation does not focus the type-the-name input | |
| parent of | 0012041 | closed | Taler | Bank (admin): 'New conversion rate class' does not focus the name, and its form would focus the description | |
| parent of | 0012042 | closed | Taler | Bank: withdrawal confirmation dialog focuses its heading even when the user must type the cash amount or a password | |
| parent of | 0012043 | closed | Taler | Challenger: code entry pulls focus back to the PIN field every second during the resend countdown | |
| parent of | 0012044 | closed | Taler | Challenger: address entry form (email/phone/postal, initial and change) does not focus its first field | |
| parent of | 0012045 | closed | Taler | Challenger: developer 'Create a verification session' form does not focus the client password (or redirect URL) | |
| parent of | 0012046 | closed | Taler | KYC: opening a requirement's form does not focus its first field | |
| parent of | 0012047 | closed | Taler | Wallet: Send money / Request money form does not focus the amount | |
| parent of | 0012048 | closed | Taler | Wallet: Deposit to a bank account does not focus the amount | |
| parent of | 0012049 | closed | Taler | Wallet: Withdraw screen's existing amount auto-focus never fires on #/withdraw | |
| parent of | 0012050 | closed | Taler | Wallet: 'Enter a wallet link' page does not focus the link field | |
| parent of | 0012051 | closed | Taler | Wallet: 'Create payment' (merchant payment template) form does not focus the first editable field | |
| parent of | 0012052 | closed | Taler | Wallet: donation-receipt setup does not focus the field to fill in | |
| parent of | 0012053 | closed | Taler | Wallet: Bank accounts 'Edit' / 'Add bank account' leave focus on the button; the opened form can be off-screen | |
| parent of | 0012054 | closed | Taler | Wallet: shared ConfirmationDialog focuses an extra body action instead of Cancel (durability prompt) | |
| parent of | 0012055 | closed | Taler | Wallet: '•••' overflow menu opens without moving focus into the menu | |
| parent of | 0012056 | closed | Taler | Wallet demo: 'Scenarios' menu opens without moving focus into the menu | |
| parent of | 0012057 | closed | Taler | web-util: Forms: `<FormUI focus>` and the per-field `focus` prop never focus anything | |
| parent of | 0012058 | closed | Taler | web-util: Terms of service form: 'Read terms' is not focused, and the terms reader moves focus back to its × button whenever the page re-renders | |
| parent of | 0012059 | closed | Taler | web-util: Date fields: the calendar dialog opens with focus left behind the overlay, and closing it drops focus to the page body | |
| parent of | 0012060 | closed | Taler | web-util: Header settings panel: closing it with × drops focus to the page body | |
| related to | 0012061 | closed | Anastasis | Anastasis: "Where do you live?" step does not focus the continent selector | |
| related to | 0012062 | closed | Anastasis | Anastasis: "New/Edit recovery policy" form does not focus its first provider selector | |
| related to | 0012063 | closed | Anastasis | Anastasis: "Add email authorization" step does not focus the email address field |
| Fixes for this issue and all its children are on branch dev/bots/autofocus (durian), rebased on master bf2e571a2: e4cfe1bd2 web-util: honour the focus flag in forms and dialogs c0c3962de merchant web UI: keep tutorial previews from taking focus 4693f4f1d merchant web UI: focus the code field in verification steps 8a4eb4219 merchant web UI: start dialogs and create forms on their first field b48f5dd89 bank web UI: focus the field each page and dialog asks for 216b033fe wallet web UI: focus the amount or field each form asks for first 908d48a85 anastasis web UI: focus the first field of three setup steps dbbabcf82 exchange AML web UI: focus the password, search and decision fields 21293f654 exchange KYC web UI: focus the first fillable field of a requirement form eaec0bcf6 challenger web UI: focus the address form and stop re-focusing the PIN 150044e2b auditor web UI: move focus into the suppress dialog and the menu drawer Unit tests with the branch: web-util 64/64, bank 107/107, anastasis 83/83, AML 69/69, KYC 1/1, challenger 12/12, auditor 23/23, wallet 322/322 (wallet run before the rebase onto bf2e571a2: on current master wallet-webui does not compile, 29 errors in its observation code, identical without this branch; the branch touches none of those files). tsc clean in all other packages. The AML (0012025-0012030), KYC (0012046) and challenger address-form (0012044) fixes depend on the web-util form fix (0012057, commit e4cfe1bd2). | |
| commit 2f657b0baa918a3cd31d735b2b2eae5a2d149282 Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:16 2026 +0100 auditor web UI: focus dialogs, navigation and server settings Start confirmations on Cancel and move focus into the mobile drawer. Restore the opener on close and focus the developer server URL field. Issue: https://bugs.taler.net/n/12031 Issue: https://bugs.taler.net/n/12032 Issue: https://bugs.taler.net/n/12033 Assisted-by: LLM commit 242b1b5bed9485152f5ea8fd751b68e485b976e6 Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:16 2026 +0100 anastasis web UI: focus setup fields when they open Use shared focus requests for input components and start continent, policy and email setup on their first control. Issue: https://bugs.taler.net/n/12061 Issue: https://bugs.taler.net/n/12062 Issue: https://bugs.taler.net/n/12063 Assisted-by: LLM commit fb42fd4355e0f9dc8380fcdee369a640fce00ee8 Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:16 2026 +0100 challenger web UI: focus address and code steps once Focus the first editable setup or address field. Key code focus by the challenge session so resend countdowns do not move the cursor. Issue: https://bugs.taler.net/n/12043 Issue: https://bugs.taler.net/n/12044 Issue: https://bugs.taler.net/n/12045 Assisted-by: LLM commit 66a3f3f16c0dde2feda831e29101ee60ba8ad656 Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:16 2026 +0100 exchange web UIs: focus AML and KYC form fields Enable form focus for session unlock, account search, decision fields and KYC requirements. Focus new measure forms without changing edit mode. Issue: https://bugs.taler.net/n/12024 Assisted-by: LLM commit 77059d755ede815e5d14a5f0c77d8e487023b864 Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:16 2026 +0100 wallet web UI: focus active forms, menus and confirmations Focus amount and account fields when their forms are ready. Restore menu and dialog openers, and leave focus alone during background updates. Confirmations start on an editable field, including acknowledgement checkboxes and selects, or Cancel when there is no field to fill in. Issue: https://bugs.taler.net/n/12024 Issue: https://bugs.taler.net/n/12054 Assisted-by: LLM commit 88ab3b1df4d96da97cccecc935c5f25047db414f Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:16 2026 +0100 bank web UI: focus forms and authentication dialogs Focus the first field that still needs input, including linked transfers and password changes. Use dialog focus handling for MFA and native withdrawal confirmations. Choose the withdrawal field after showModal(), so loading account details does not determine when the field receives focus. Issue: https://bugs.taler.net/n/12024 Issue: https://bugs.taler.net/n/12034 Issue: https://bugs.taler.net/n/12042 Assisted-by: LLM commit be277f9e6cb0db916464e05020eb757b74ea3e23 Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:16 2026 +0100 web-util: manage focus in the calendar, terms and settings dialogs Use dialog focus handling for entry, Escape and opener restoration. Start the calendar on the selected day and the terms reader on Close. Issue: https://bugs.taler.net/n/12058 Issue: https://bugs.taler.net/n/12059 Issue: https://bugs.taler.net/n/12060 Assisted-by: LLM commit bee154f5ddb07d01986a5ddf830a5105fbf0ae1f Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:16 2026 +0100 web-util: honour form focus on one editable control FormUI chooses one field across all visible sections. Each field exposes its primary control to the form; standalone fields keep their focus flag. Issue: https://bugs.taler.net/n/12057 Assisted-by: LLM commit d8eedea1529d070bd176c70e365ac963615a5d56 Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:16 2026 +0100 web UIs: keep previews from taking keyboard focus FocusPolicy blocks automatic focus until the reader interacts with a preview. The policy follows components through portals. Issue: https://bugs.taler.net/n/12002 Issue: https://bugs.taler.net/n/12024 Assisted-by: LLM commit 0db14837db18a79a4bee3ca81c0137bc20c01f92 Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:14 2026 +0100 web-util: restore dialog openers and coordinate nested dialogs DialogFocusScope adds Escape handling and opener restoration to a focus scope. Hooks provide the same behavior for existing wrappers. Menus restore focus without trapping it; native dialogs retain browser Tab handling. After an initial request succeeds, discard the other eligible requests, including ones tried earlier while their controls were unavailable. Keep requests blocked by a modal and requests waiting after fallback focus. Issue: https://bugs.taler.net/n/12002 Issue: https://bugs.taler.net/n/12024 Issue: https://bugs.taler.net/n/12034 Assisted-by: LLM commit c1ee0c1022645200e605a3f36ab4910a3750c180 Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:11 2026 +0100 web-util: focus pages and form steps when their controls are ready FocusScope queues one initial focus request when a page, form or step opens. It waits for loading and cancels the request if the user moves focus. useFocusTarget retries pending focus when a control mounts. Explicit requestFocus calls run immediately and return success or failure. Issue: https://bugs.taler.net/n/12002 Issue: https://bugs.taler.net/n/12024 Assisted-by: LLM commit fdb0b892c5ea5e4869edcc8b83fb43a707be2126 Author: Florian Dold <dold@taler.net> Date: Fri Nov 13 01:06:08 2026 +0100 web-util: add helpers for initial focus and modal keyboard handling Find controls that can receive focus, skipping hidden, disabled and inert elements. Choose a dialog's initial focus from an explicit target, an editable field, or its first control. Handle Escape on the active dialog. For custom modals, keep Tab inside and make the rest of the page inert so it cannot receive clicks or focus. Restore the previous inert state on close. Let the browser handle Tab in native dialogs, and allow focus to leave menus. Issue: https://bugs.taler.net/n/12002 Issue: https://bugs.taler.net/n/12024 Assisted-by: LLM | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-10 23:42 | bot-cg | New Issue | |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012025 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012059 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012058 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012057 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012056 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012055 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012054 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012053 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012052 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012051 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012050 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012049 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012048 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012047 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012046 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012045 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012044 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012043 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012042 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012041 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012040 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012039 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012038 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012037 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012036 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012035 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012034 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012033 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012032 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012031 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012030 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012029 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012028 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012027 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012026 |
| 2026-11-10 23:42 | bot-cg | Relationship added | parent of 0012060 |
| 2026-11-10 23:55 | bot-cg | Note Added: 0030390 | |
| 2026-11-11 16:24 | Christian Grothoff | Severity | minor => trivial |
| 2026-11-13 09:14 | bot-codex-florian-dold | Note Added: 0030512 | |
| 2026-11-13 09:14 | bot-codex-florian-dold | Status | new => closed |
| 2026-11-13 09:14 | bot-codex-florian-dold | Resolution | open => fixed |
| 2026-11-18 17:02 | Christian Grothoff | Target Version | => 1.6 |
| 2026-11-18 17:07 | Christian Grothoff | Fixed in Version | => 1.6 |