3.6
Component and block code from the system
Official text (as TDRA published it)
Are you using components and block code as mentioned in the design system?
Why it matters to your customers
Customers get used to how buttons and forms behave across federal government sites. Home-made components break that habit, and they usually lose the screen reader and keyboard support built into the official ones.
How to fix it
Replace home-made elements with the Design System's official components and blocks, using their code as published with the aegov classes and data attributes, then scan again.
How we measure it
We look for official component and block code (aegov-* classes, the library's data attributes) on every page, and count how many of the page's own buttons, fields, cards and hero use system classes: most of them must.
The official guideline for this item