system/components/code-blocks

ID:
system/components/code-blocks
Automated score:
96.2
View JSON file

4 violations: Light: 1Dark: 1HC Light: 1HC Dark: 1

Ensures the contrast between foreground and background colors meets APCA custom level conformance minimums thresholds. Elements must meet APCA conformance minimums thresholds. Help URL

HTML

<div>1</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(1)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>2</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(2)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>3</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(3)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>4</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(4)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>5</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(5)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>6</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(6)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>23</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(1)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>24</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(2)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>25</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(3)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>26</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(4)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>27</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(5)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>28</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(6)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>29</div>

Target

div:nth-child(7)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>30</div>

Target

div:nth-child(8)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>31</div>

Target

div:nth-child(9)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>32</div>

Target

div:nth-child(10)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>33</div>

Target

div:nth-child(11)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>34</div>

Target

div:nth-child(12)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 54.2Lc (foreground color: #84878c, background color: #f0efed, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

Ensures the contrast between foreground and background colors meets APCA custom level conformance minimums thresholds. Elements must meet APCA conformance minimums thresholds. Help URL

HTML

<span class="fc-black-350">N/A</span>

Target

.fc-black-350

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 53.33Lc (foreground color: #a6a6a6, background color: #141414, font size: 9.8pt (13px), font weight: 300). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>1</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(1)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>2</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(2)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>3</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(3)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>4</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(4)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>5</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(5)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>6</div>

Target

.language-html > .s-code-block--line-numbers > div:nth-child(6)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>23</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(1)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>24</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(2)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>25</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(3)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>26</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(4)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>27</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(5)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>28</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(6)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>29</div>

Target

div:nth-child(7)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>30</div>

Target

div:nth-child(8)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>31</div>

Target

div:nth-child(9)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>32</div>

Target

div:nth-child(10)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>33</div>

Target

div:nth-child(11)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

HTML

<div>34</div>

Target

div:nth-child(12)

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 50.98Lc (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: 400). Expected minimum APCA lightness contrast of 60Lc

Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds. Elements must meet enhanced color contrast ratio thresholds. Help URL

HTML

<div>23</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(1)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>24</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(2)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>25</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(3)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>26</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(4)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>27</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(5)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>28</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(6)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>29</div>

Target

div:nth-child(7)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>30</div>

Target

div:nth-child(8)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>31</div>

Target

div:nth-child(9)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>32</div>

Target

div:nth-child(10)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>33</div>

Target

div:nth-child(11)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>34</div>

Target

div:nth-child(12)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.24 (foreground color: #54585c, background color: #f0efed, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds. Elements must meet enhanced color contrast ratio thresholds. Help URL

HTML

<div>23</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(1)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>24</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(2)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>25</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(3)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>26</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(4)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>27</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(5)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>28</div>

Target

.language-json > .s-code-block--line-numbers > div:nth-child(6)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>29</div>

Target

div:nth-child(7)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>30</div>

Target

div:nth-child(8)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>31</div>

Target

div:nth-child(9)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>32</div>

Target

div:nth-child(10)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>33</div>

Target

div:nth-child(11)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div>34</div>

Target

div:nth-child(12)

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.21 (foreground color: #a6a6a6, background color: #262626, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 7:1