kiesraad / abacus

Abacus, software voor verkiezingsuitslagen en zetelverdeling
https://kiesraad-abacus.pages.dev
European Union Public License 1.2
19 stars 6 forks source link

Standardize heading sizes #594

Open oliver3 opened 1 week ago

oliver3 commented 1 week ago

Heading sizes are standardized, but what @Lionqueen94 says is true as well. There is an extra level on this page. Because a11y dictates that skipping levels is not allowed, we need an additional size.

I can imagine there will be more pages in the future that have also have this extra header. Might it be an idea to add a class to the body, and make header sizes depend on that? (so we have a clean definition of header sizes per page type, instead of updating heading sizes 'manually')

_Originally posted by @jorisleker in https://github.com/kiesraad/abacus/pull/573#discussion_r1841889237_