Create Article

12 violations: Light: 5Dark: 2HC Light: 3HC Dark: 2

Ensure elements with an ARIA role that require child roles contain them. Certain ARIA roles must contain particular children. Help URL

HTML

<ol class="s-topbar--content" role="menubar">

Target

ol

Summary

Fix any of the following:

  • Element has children which are not allowed: li[tabindex], div[aria-live]

Ensure elements with an ARIA role that require child roles contain them. Certain ARIA roles must contain particular children. Help URL

HTML

<ol class="s-topbar--content" role="menubar">

Target

ol

Summary

Fix any of the following:

  • Element has children which are not allowed: li[tabindex], div[aria-live]

Ensure elements with an ARIA role that require child roles contain them. Certain ARIA roles must contain particular children. Help URL

HTML

<ol class="s-topbar--content" role="menubar">

Target

ol

Summary

Fix any of the following:

  • Element has children which are not allowed: li[tabindex], div[aria-live]

Ensure elements with an ARIA role that require child roles contain them. Certain ARIA roles must contain particular children. Help URL

HTML

<ol class="s-topbar--content" role="menubar">

Target

ol

Summary

Fix any of the following:

  • Element has children which are not allowed: li[tabindex], div[aria-live]

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

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
              <span class="icon-bg iconHeader"></span>
            </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(1) > div > .is-disabled.s-editor-btn.s-btn

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconBold"></span>
          </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(1) > .is-disabled.s-editor-btn.s-btn:nth-child(2)

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconItalic"></span>
          </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(1) > .is-disabled.s-editor-btn.s-btn:nth-child(3)

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconCode"></span>
          </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(1) > .is-disabled.s-editor-btn.s-btn:nth-child(4)

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconLink"></span>
          </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(2) > .is-disabled.s-editor-btn.s-btn:nth-child(1)

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconQuote"></span>
          </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(2) > .is-disabled.s-editor-btn.s-btn:nth-child(2)

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconCodeblock"></span>
          </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(2) > .is-disabled.s-editor-btn.s-btn:nth-child(3)

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconImage"></span>
          </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(2) > .is-disabled.s-editor-btn.s-btn:nth-child(4)

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconTable"></span>
          </button>

Target

.is-disabled.s-editor-btn.s-btn:nth-child(5)

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconOrderedList"></span>
          </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(3) > .is-disabled.s-editor-btn.s-btn:nth-child(1)

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconUnorderedList"></span>
          </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(3) > .is-disabled.s-editor-btn.s-btn:nth-child(2)

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"

HTML

<button class="s-editor-btn s-btn is-disabled" disabled="" type="button">
            <span class="icon-bg iconHorizontalRule"></span>
          </button>

Target

.s-editor-menu-block.g2.d-flex:nth-child(3) > .is-disabled.s-editor-btn.s-btn:nth-child(3)

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 every form element has a label. Form elements must have labels. Help URL

HTML

<input type="radio" disabled="">

Target

input[type="radio"]:nth-child(1)

Summary

Fix any of the following:

  • Element does not have an implicit (wrapped) <label>
  • Element does not have an explicit <label>
  • 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 has no placeholder attribute
  • Element's default semantics were not overridden with role="none" or role="presentation"

HTML

<input type="radio" disabled="" checked="">

Target

input[type="radio"]:nth-child(3)

Summary

Fix any of the following:

  • Element does not have an implicit (wrapped) <label>
  • Element does not have an explicit <label>
  • 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 has no placeholder attribute
  • Element's default semantics were not overridden with role="none" or role="presentation"

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

<p class="fs-caption fc-black-400 ta-right m0">Required fields<abbr class="s-required-symbol" title="required">*</abbr></p>

Target

.ta-right

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.79 (foreground color: #525960, background color: #f9fafa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 7:1

HTML

<p class="mt2 s-description">What type of article is this?</p>

Target

legend > .mt2.s-description

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.79 (foreground color: #525960, background color: #f9fafa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 7:1

HTML

<div class="s-description mt2">At least one tag is required.</div>

Target

.d-block > .s-description.mt2

Summary

Fix any of the following:

  • Element has insufficient color contrast of 6.79 (foreground color: #525960, background color: #f9fafa, font size: 9.0pt (12px), font weight: normal). Expected contrast ratio of 7:1

Ensure links have discernible text. Links must have discernible text. Help URL

HTML

<a class="s-editor-btn s-btn is-disabled" tabindex="-1" href="#" target="_blank">
            <span class="icon-bg iconHelp"></span>
          </a>

Target

.is-disabled[target="_blank"][href="#"]

Summary

Fix any of the following:

  • Element does not have 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

Ensure <li> elements are used semantically. <li> elements must be contained in a <ul> or <ol>. Help URL

HTML

<li>

Target

ol > li:nth-child(2)

Summary

Fix any of the following:

  • List item parent element has a role that is not role="list"

HTML

<li>

Target

ol > li:nth-child(9)

Summary

Fix any of the following:

  • List item parent element has a role that is not role="list"

Ensure <li> elements are used semantically. <li> elements must be contained in a <ul> or <ol>. Help URL

HTML

<li>

Target

ol > li:nth-child(2)

Summary

Fix any of the following:

  • List item parent element has a role that is not role="list"

HTML

<li>

Target

ol > li:nth-child(9)

Summary

Fix any of the following:

  • List item parent element has a role that is not role="list"

Ensure <li> elements are used semantically. <li> elements must be contained in a <ul> or <ol>. Help URL

HTML

<li>

Target

ol > li:nth-child(2)

Summary

Fix any of the following:

  • List item parent element has a role that is not role="list"

HTML

<li>

Target

ol > li:nth-child(9)

Summary

Fix any of the following:

  • List item parent element has a role that is not role="list"

Ensure <li> elements are used semantically. <li> elements must be contained in a <ul> or <ol>. Help URL

HTML

<li>

Target

ol > li:nth-child(2)

Summary

Fix any of the following:

  • List item parent element has a role that is not role="list"

HTML

<li>

Target

ol > li:nth-child(9)

Summary

Fix any of the following:

  • List item parent element has a role that is not role="list"