system/components/buttons

ID:
system/components/buttons
Automated score:
88.5
View JSON file

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

Ensure an element's role supports its ARIA attributes. Elements must only use supported ARIA attributes. Help URL

HTML

<a href="#" class="ws-nowrap s-btn   is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(1) > .px4.ta-center.va-middle:nth-child(4) > .is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn  s-btn__clear is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(2) > .px4.ta-center.va-middle:nth-child(4) > .is-selected.s-btn__clear[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__tonal  is-selected" aria-pressed="true">Ask question</a>

Target

.s-btn__tonal.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__danger  is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(4) > .px4.ta-center.va-middle:nth-child(4) > .s-btn__danger.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__danger s-btn__clear is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(5) > .px4.ta-center.va-middle:nth-child(4) > .s-btn__danger.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__featured  is-selected" aria-pressed="true">Ask question</a>

Target

.s-btn__featured.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

Ensure an element's role supports its ARIA attributes. Elements must only use supported ARIA attributes. Help URL

HTML

<a href="#" class="ws-nowrap s-btn   is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(1) > .px4.ta-center.va-middle:nth-child(4) > .is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn  s-btn__clear is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(2) > .px4.ta-center.va-middle:nth-child(4) > .is-selected.s-btn__clear[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__tonal  is-selected" aria-pressed="true">Ask question</a>

Target

.s-btn__tonal.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__danger  is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(4) > .px4.ta-center.va-middle:nth-child(4) > .s-btn__danger.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__danger s-btn__clear is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(5) > .px4.ta-center.va-middle:nth-child(4) > .s-btn__danger.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__featured  is-selected" aria-pressed="true">Ask question</a>

Target

.s-btn__featured.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

Ensure an element's role supports its ARIA attributes. Elements must only use supported ARIA attributes. Help URL

HTML

<a href="#" class="ws-nowrap s-btn   is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(1) > .px4.ta-center.va-middle:nth-child(4) > .is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn  s-btn__clear is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(2) > .px4.ta-center.va-middle:nth-child(4) > .is-selected.s-btn__clear[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__tonal  is-selected" aria-pressed="true">Ask question</a>

Target

.s-btn__tonal.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__danger  is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(4) > .px4.ta-center.va-middle:nth-child(4) > .s-btn__danger.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__danger s-btn__clear is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(5) > .px4.ta-center.va-middle:nth-child(4) > .s-btn__danger.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__featured  is-selected" aria-pressed="true">Ask question</a>

Target

.s-btn__featured.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

Ensure an element's role supports its ARIA attributes. Elements must only use supported ARIA attributes. Help URL

HTML

<a href="#" class="ws-nowrap s-btn   is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(1) > .px4.ta-center.va-middle:nth-child(4) > .is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn  s-btn__clear is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(2) > .px4.ta-center.va-middle:nth-child(4) > .is-selected.s-btn__clear[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__tonal  is-selected" aria-pressed="true">Ask question</a>

Target

.s-btn__tonal.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__danger  is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(4) > .px4.ta-center.va-middle:nth-child(4) > .s-btn__danger.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__danger s-btn__clear is-selected" aria-pressed="true">Ask question</a>

Target

tr:nth-child(5) > .px4.ta-center.va-middle:nth-child(4) > .s-btn__danger.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

HTML

<a href="#" class="ws-nowrap s-btn s-btn__featured  is-selected" aria-pressed="true">Ask question</a>

Target

.s-btn__featured.is-selected[href="#"]

Summary

Fix all of the following:

  • ARIA attribute is not allowed: aria-pressed="true"

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>.s-loader</code>

Target

a[href$="loader/"] > 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: 10.5pt (14px), 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

tr:nth-child(1) > td:nth-child(2) > em

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

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

Target

tr:nth-child(1) > td:nth-child(3) > em

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

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

Target

tr:nth-child(2) > td:nth-child(3) > em

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

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

Target

.fs-caption > tr:nth-child(3) > td:nth-child(2) > em

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

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

Target

tr:nth-child(4) > td:nth-child(2) > em

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

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

Target

tr:nth-child(5) > td:nth-child(2) > em

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

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

Target

tr:nth-child(6) > td:nth-child(2) > em

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

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

Target

tr:nth-child(7) > td:nth-child(2) > em

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

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

Target

tr:nth-child(8) > td:nth-child(2) > em

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

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

Target

tr:nth-child(9) > td:nth-child(2) > em

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

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

Target

tr:nth-child(10) > td:nth-child(2) > em

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

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

Target

tr:nth-child(11) > td:nth-child(2) > em

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

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

Target

tr:nth-child(12) > td:nth-child(2) > em

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

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

Target

tr:nth-child(13) > td:nth-child(2) > em

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

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

Target

tr:nth-child(14) > td:nth-child(2) > em

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

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

Target

tr:nth-child(15) > td:nth-child(2) > em

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

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

Target

tr:nth-child(16) > td:nth-child(2) > em

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

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

Target

.va-middle:nth-child(2) > em

Summary

Fix all of the following:

  • Element has insufficient APCA custom level contrast of 53.33Lc (foreground color: #a6a6a6, background color: #141414, font size: 10.5pt (14px), 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>.s-loader</code>

Target

a[href$="loader/"] > code

Summary

Fix any of the following:

  • Element has insufficient color contrast of 5.85 (foreground color: #505355, background color: #dee0e3, 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

<code>.s-loader</code>

Target

a[href$="loader/"] > code

Summary

Fix any of the following:

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