Skip to content

Instantly share code, notes, and snippets.

@greatislander
Created January 25, 2019 16:12
Show Gist options
  • Save greatislander/83dc3045970b01151bc5bdcbc621950e to your computer and use it in GitHub Desktop.
Save greatislander/83dc3045970b01151bc5bdcbc621950e to your computer and use it in GitHub Desktop.
FAIL test/post.test.js
Single post
✕ Should pass Axe tests (514ms)
● Single post › Should pass Axe tests
Error
Error: expect(received).toPassAxeTests(expected)
Expected page to pass Axe accessibility tests.
Violations found:
Rule: duplicate-id (id attribute value must be unique)
Affected Nodes:
.entry-meta > .posted-on > svg[width="\31 6"][height="\31 6"] > defs > path[d="M0\ 0h24v24H0V0z"]
Fix ANY of the following:
- Document has multiple static elements with the same id attribute
.entry-meta > .posted-on > svg[width="\31 6"][height="\31 6"] > clippath
Fix ANY of the following:
- Document has multiple static elements with the same id attribute
Rule: empty-heading (Headings must not be empty)
Affected Nodes:
#reply-title
Fix ANY of the following:
- Element does not have text that is visible to screen readers
Rule: link-name (Links must have discernible text)
Affected Nodes:
.comment-author.vcard > .url[rel="external\ nofollow"][href$="wordpress.org/"]
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's default semantics were not overridden with role="presentation"
- Element's default semantics were not overridden with role="none"
.comment-author.vcard > .url[rel="external\ nofollow"][href$="wordpress.org/"]
Fix ALL of the following:
- Element is in tab order and does not have accessible text.
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment