Add contextual filling help across forms and fiscal simulator steps
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-17 10:01:43 +02:00
parent c0d62d4e89
commit ded66878af
8 changed files with 990 additions and 2 deletions
@@ -2555,6 +2555,9 @@ export function SimulationForm() {
return (
<section
className="space-y-6 rounded-xl border bg-white p-4 sm:p-6"
data-form-help-context="simulator"
data-form-help-step={current.id}
data-form-help-title={current.title}
aria-labelledby="simulator-step-title"
aria-busy={!ready}
>
@@ -3295,6 +3298,13 @@ export function SimulationForm() {
>
{current.title}
</h3>
<button
type="button"
data-form-help-open
className="inline-flex min-h-11 items-center gap-2 rounded-lg border border-emerald-700 px-3 py-2 text-sm font-semibold"
>
<span aria-hidden="true">❔</span> Ajuda neste passo
</button>
{current.id === 'review' && (
<section
className="rounded-lg border p-4"