Candidates taking an assessment can change how it looks and behaves for themselves: text size, contrast, spacing, a more readable typeface, a colour-blind-safe palette, reduced motion, and turning off keyboard shortcuts or auto-advance. They do not ask anyone, and the employer never sees what they chose. This post is about how that is built so it never flashes.
You can look at what is offered on the accessibility page , and at what a candidate can ask the employer for on the reasonable adjustments page .
Two kinds of setting, kept separate
The distinction that shaped everything: some settings change how the page is painted, and some change how the app behaves.
export const ACCESS_ATTRIBUTES = [ 'palette' , 'contrast' , 'text' , 'spacing' , 'font' , 'motion' ] as const ;
Enter fullscreen mode
Exit fullscreen mode
Those six become attributes on <html> , like data-access-contrast="high" , and CSS does the rest. The other two, shortcuts and auto-advance, are read by the components that care.…