fix(17): IN-03 render visible Redirecting status during OIDC redirect

This commit is contained in:
Lucas Berger
2026-06-18 13:57:31 -04:00
parent f7575ea2c3
commit 89dee4f586
+17 -1
View File
@@ -78,7 +78,23 @@ function OidcRedirect() {
useEffect(() => { useEffect(() => {
window.location.replace('/api/login'); window.location.replace('/api/login');
}, []); }, []);
return <div aria-hidden="true" />; // IN-03: render a perceivable status (not an empty aria-hidden div) so the
// transition is announced to screen-reader/keyboard users if the redirect is slow.
return (
<div
role="status"
style={{
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
minHeight: '100vh',
color: 'var(--color-text-muted, #6b7280)',
fontSize: '0.95rem',
}}
>
Redirecting to sign in
</div>
);
} }
export default function App() { export default function App() {