kiesraad / abacus

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

Inconsistent link colors and override of visited link color in feedback and alert components #285

Closed jorisleker closed 4 hours ago

jorisleker commented 2 weeks ago

We've reviewed the colors of our link styles to make them pass accessibility requirements.

The colors should be updated as follows:

Also see definition in Figma

The colors apply for all links in texts (not in buttons).

There is one exception. In feedback and alert components (red/yellow/green or blue background) the visited state of links should use the same color as the default state. Hover and active colors should override the visited color.

Acceptance criteria:

Example of link in feedback component in Figma

jorisleker commented 1 week ago

Link colors are added in https://github.com/kiesraad/abacus/pull/303, work that remains to be done is updating styles in feedback and alert components