integration: disable the contact mailto until required fields are complete

Keep the submit control focusable with a disabled semantic while the briefing is incomplete, mark invalid fields only after interaction, and leave the encoded mailto path unchanged once the form is filled.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-25 19:32:22 +02:00
parent 1ff26be61b
commit 575ba06bb9
5 changed files with 115 additions and 6 deletions

View File

@@ -31,7 +31,8 @@ textarea {
font: inherit;
}
.actions a {
.actions a,
button.submit {
color: var(--color-accent-cool);
text-decoration: none;
}
@@ -40,6 +41,21 @@ textarea {
font-weight: 600;
}
button.submit {
appearance: none;
border: 0;
padding: 0;
background: transparent;
font: inherit;
font-weight: 600;
min-height: 2.75rem;
}
button.submit[aria-disabled='true'] {
color: var(--color-text-muted);
cursor: not-allowed;
}
@media (hover: hover) and (pointer: fine) {
.actions a:hover {
text-decoration: underline;