Learn Accessibility by Building a Quiz - Step 46

Tell us what’s happening:

'On the topic of visual accessibility, contrast between elements is a key factor. For example, the contrast between the text and the background of a heading should be at least 4.5:1.

Change the font color of all the anchor elements within the list elements to something with a contrast ratio of at least 7:1.’

I could solve it with the hint, but what I didn’t understand was how I know what is the color that have this contrast that the question says. Someone can explain it for me?

Unfortunately, we cant help you unless we have a link to the challenge and can see all your code. Please paste the link to the challenge here, and then use the format button which looks like </>
and paste all of your code between the two lines it gives you

1 Like

The answer to this stage for accessibility is as follows
mod edit: removed

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like