diff --git a/.phase13-state.json b/.phase13-state.json index 25e2317..f05dd93 100644 --- a/.phase13-state.json +++ b/.phase13-state.json @@ -1,9 +1,10 @@ { "completed_features": [], - "current_feature": "in-app-changelog", + "current_feature": "aria-improvements", "started_at": "2026-05-23T06:42:42.473991", "attempted_features": [ "undo-toast", - "breadcrumb-navigation" + "breadcrumb-navigation", + "in-app-changelog" ] } \ No newline at end of file diff --git a/GENERATION_LOG.md b/GENERATION_LOG.md index 254f3a9..fa9cdab 100644 --- a/GENERATION_LOG.md +++ b/GENERATION_LOG.md @@ -1618,3 +1618,20 @@ src/index.ts(27,25): error TS2769: No overload matches this call. Overload 2 of 3, '(plugin: FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error. Argument of type 'Promise' is not assignable to parameter of type 'FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'. Type 'Promise' provides no match for the signature '(instance: FastifyInstance, FastifyBaseLogger, FastifyTy +- `06:45:30` **INFO** Committed feature in-app-changelog +- `06:45:31` **INFO** Pushed: rc=0 + +## Phase-3 Feature: aria-improvements (2026-05-23 06:45:31) + +- `06:45:31` **INFO** Description: Accessibility-Improvements (ARIA labels) in Nav + Forms +- `06:45:31` **INFO** Generating apps/web/src/components/Nav.tsx (ERWEITERT — füge aria-label zu allen icon-only-Buttons (Theme-Toggle, …) +- `06:46:20` **INFO** wrote 5273 chars in 49.0s (attempt 1) +- `06:46:20` **INFO** Running tsc --noEmit on api… +- `06:46:21` **WARN** tsc errors: +src/index.ts(27,25): error TS2769: No overload matches this call. + Overload 1 of 3, '(plugin: FastifyPluginCallback<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error. + Argument of type 'Promise' is not assignable to parameter of type 'FastifyPluginCallback<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'. + Type 'Promise' provides no match for the signature '(instance: FastifyInstance, FastifyBaseLogger, FastifyTypeProvider>, opts: { ...; }, done: (err?: Error | undefined) => void): void'. + Overload 2 of 3, '(plugin: FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error. + Argument of type 'Promise' is not assignable to parameter of type 'FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'. + Type 'Promise' provides no match for the signature '(instance: FastifyInstance, FastifyBaseLogger, FastifyTy diff --git a/apps/web/src/components/Nav.tsx b/apps/web/src/components/Nav.tsx index e17f6dd..bdb4ab1 100644 --- a/apps/web/src/components/Nav.tsx +++ b/apps/web/src/components/Nav.tsx @@ -68,6 +68,7 @@ export default function Nav() { setIsMobileMenuOpen(false)} + aria-current={isActive ? 'page' : undefined} className={`${baseClasses} ${isActive ? activeClasses : inactiveClasses}`} > @@ -77,7 +78,10 @@ export default function Nav() { } return ( -