Verified origin: ${htmlEscape(v.clientOrigin)}
Unverified application (dynamically registered — the name above is self-reported and not verified).
`; + : `Unverified application (dynamically registered, the name above is self-reported and not verified).
`; // Plain-language access summary. When write is granted, say so explicitly — // the app will be able to READ and LOG/WRITE health data, not just read. const writeGranted = v.scope.split(/\s+/).includes(SCOPE_HEALTH_WRITE); const accessSummary = writeGranted ? `This grants read AND write access: the application will be able to read your own health records and log new measurements and mood entries to your account on your behalf. It cannot delete or change existing entries, edit medications, or reach admin functions.
` - : `Scope: ${htmlEscape(v.scope)} — read-only access to your own health records.
Scope: ${htmlEscape(v.scope)}. Read-only access to your own health records.
{fmt.date(revision.validFrom)} - {" – "} + {"–"} {fmt.date(revision.validUntil)}
diff --git a/src/components/mental-health/instrument-card.tsx b/src/components/mental-health/instrument-card.tsx index 11a61163d..7176055c6 100644 --- a/src/components/mental-health/instrument-card.tsx +++ b/src/components/mental-health/instrument-card.tsx @@ -132,7 +132,7 @@ export function InstrumentCard({ type="button" onClick={onOpenDetail} data-slot="instrument-card-open" - aria-label={`${title} — ${t("mentalHealth.openDetail")}`} + aria-label={`${title}: ${t("mentalHealth.openDetail")}`} className="focus-visible:ring-ring block w-full rounded-t-xl text-left focus-visible:ring-2 focus-visible:outline-none" >