system/components/prose

ID:
system/components/prose
Automated score:
90.6
View JSON file

12 violations: Light: 3Dark: 3HC Light: 3HC Dark: 3

Ensure buttons have discernible text. Buttons must have discernible text. Help URL

HTML

<button class="s-btn h:fc-blue-400 px0 s-btn__clear s-btn__icon">

Target

.h\:fc-blue-400

Summary

Fix any of the following:

  • Element does not have inner text that is visible to screen readers
  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  • Element has no title attribute
  • Element does not have an implicit (wrapped) <label>
  • Element does not have an explicit <label>
  • Element's default semantics were not overridden with role="none" or role="presentation"

Ensure buttons have discernible text. Buttons must have discernible text. Help URL

HTML

<button class="s-btn h:fc-blue-400 px0 s-btn__clear s-btn__icon">

Target

.h\:fc-blue-400

Summary

Fix any of the following:

  • Element does not have inner text that is visible to screen readers
  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  • Element has no title attribute
  • Element does not have an implicit (wrapped) <label>
  • Element does not have an explicit <label>
  • Element's default semantics were not overridden with role="none" or role="presentation"

Ensure buttons have discernible text. Buttons must have discernible text. Help URL

HTML

<button class="s-btn h:fc-blue-400 px0 s-btn__clear s-btn__icon">

Target

.h\:fc-blue-400

Summary

Fix any of the following:

  • Element does not have inner text that is visible to screen readers
  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  • Element has no title attribute
  • Element does not have an implicit (wrapped) <label>
  • Element does not have an explicit <label>
  • Element's default semantics were not overridden with role="none" or role="presentation"

Ensure buttons have discernible text. Buttons must have discernible text. Help URL

HTML

<button class="s-btn h:fc-blue-400 px0 s-btn__clear s-btn__icon">

Target

.h\:fc-blue-400

Summary

Fix any of the following:

  • Element does not have inner text that is visible to screen readers
  • aria-label attribute does not exist or is empty
  • aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
  • Element has no title attribute
  • Element does not have an implicit (wrapped) <label>
  • Element does not have an explicit <label>
  • Element's default semantics were not overridden with role="none" or role="presentation"

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

<code>stackexchange/stacks</code>

Target

#prose-example-minimal > .s-prose[role="presentation"] > p:nth-child(40) > a > code

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 57.3Lc (foreground color: #6b6d73, background color: #dee0e3, font size: 9.2pt (12.25px), font weight: 500). Expected minimum APCA lightness contrast of 60Lc

HTML

<code>stackexchange/stacks</code>

Target

.s-prose__sm > p:nth-child(40) > a > code

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 57.3Lc (foreground color: #6b6d73, background color: #dee0e3, font size: 8.5pt (11.375px), font weight: 500). 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

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

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

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

<code>stackexchange/stacks</code>

Target

#prose-example-minimal > .s-prose[role="presentation"] > p:nth-child(40) > a > code

Summary

Fix any of the following:

  • Element has insufficient color contrast of 5.85 (foreground color: #505355, background color: #dee0e3, font size: 9.2pt (12.25px), font weight: normal). Expected contrast ratio of 7:1

HTML

<code>stackexchange/stacks</code>

Target

.s-prose__sm > p:nth-child(40) > a > code

Summary

Fix any of the following:

  • Element has insufficient color contrast of 5.85 (foreground color: #505355, background color: #dee0e3, font size: 8.5pt (11.375px), 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

<code>stackexchange/stacks</code>

Target

#prose-example-minimal > .s-prose[role="presentation"] > p:nth-child(40) > a > code

Summary

Fix any of the following:

  • Element has insufficient color contrast of 4.87 (foreground color: #d9d3ce, background color: #575757, font size: 9.2pt (12.25px), font weight: normal). Expected contrast ratio of 7:1

HTML

<code>stackexchange/stacks</code>

Target

.s-prose__sm > p:nth-child(40) > a > code

Summary

Fix any of the following:

  • Element has insufficient color contrast of 4.87 (foreground color: #d9d3ce, background color: #575757, font size: 8.5pt (11.375px), font weight: normal). Expected contrast ratio of 7:1

Ensure elements that have scrollable content are accessible by keyboard. Scrollable region must have keyboard access. Help URL

HTML

<pre class="language-html s-code-block">

Target

#prose-example-minimal > .s-prose[role="presentation"] > .language-html.s-code-block

Summary

Fix any of the following:

  • Element should have focusable content
  • Element should be focusable

HTML

<pre class="language-html s-code-block">

Target

.s-prose__sm > .language-html.s-code-block

Summary

Fix any of the following:

  • Element should have focusable content
  • Element should be focusable

Ensure elements that have scrollable content are accessible by keyboard. Scrollable region must have keyboard access. Help URL

HTML

<pre class="language-html s-code-block">

Target

#prose-example-minimal > .s-prose[role="presentation"] > .language-html.s-code-block

Summary

Fix any of the following:

  • Element should have focusable content
  • Element should be focusable

HTML

<pre class="language-html s-code-block">

Target

.s-prose__sm > .language-html.s-code-block

Summary

Fix any of the following:

  • Element should have focusable content
  • Element should be focusable

Ensure elements that have scrollable content are accessible by keyboard. Scrollable region must have keyboard access. Help URL

HTML

<pre class="language-html s-code-block">

Target

#prose-example-minimal > .s-prose[role="presentation"] > .language-html.s-code-block

Summary

Fix any of the following:

  • Element should have focusable content
  • Element should be focusable

HTML

<pre class="language-html s-code-block">

Target

.s-prose__sm > .language-html.s-code-block

Summary

Fix any of the following:

  • Element should have focusable content
  • Element should be focusable

Ensure elements that have scrollable content are accessible by keyboard. Scrollable region must have keyboard access. Help URL

HTML

<pre class="language-html s-code-block">

Target

#prose-example-minimal > .s-prose[role="presentation"] > .language-html.s-code-block

Summary

Fix any of the following:

  • Element should have focusable content
  • Element should be focusable

HTML

<pre class="language-html s-code-block">

Target

.s-prose__sm > .language-html.s-code-block

Summary

Fix any of the following:

  • Element should have focusable content
  • Element should be focusable