Visitar URL original
USWDS - Testing: Add more URLs to axe testing. by mejiaj · Pull Request #1092 · uswds/uswds-site · GitHub
Skip to content

USWDS - Testing: Add more URLs to axe testing. - #1092

Closed
mejiaj wants to merge 9 commits into
mainfrom
jm-a11y-testing
Closed

mejiaj wants to merge 9 commits into
mainfrom
jm-a11y-testing

Conversation

@mejiaj

@mejiaj mejiaj commented Nov 19, 2020 •

Copy link
Copy Markdown
Contributor

Description

Related to uswds/uswds/issues/3733.

Added the following URLs to testing:

  • documentation/designers/
  • documentation/implementations/
  • about/product-roadmap/
  • utilities/
  • design-tokens/
  • page-templates/

Additional information

a11y issues found:

Design tokens - 1 axe violation
/design-tokens/ Found 1 aXe violations.
[
  {
    id: 'scope-attr-valid',
    impact: 'moderate',
    tags: [ 'cat.tables', 'best-practice' ],
    description: 'Ensures the scope attribute is used correctly on tables',
    help: 'scope attribute should be used correctly',
    helpUrl: 'https://dequeuniversity.com/rules/axe/3.5/scope-attr-valid?application=axeAPI',
    nodes: [
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object],
      [Object], [Object], [Object]
    ]
  }
]
Page templates - 1 axe violation
/page-templates/ Found 1 aXe violations.
[
  {
    id: 'heading-order',
    impact: 'moderate',
    tags: [ 'cat.semantics', 'best-practice' ],
    description: 'Ensures the order of headings is semantically correct',
    help: 'Heading levels should only increase by one',
    helpUrl: 'https://dequeuniversity.com/rules/axe/3.5/heading-order?application=axeAPI',
    nodes: [ [Object], [Object] ]
  }
]
Utilities - 1 axe violation
/utilities/ Found 1 aXe violations.
[
  {
    id: 'scope-attr-valid',
    impact: 'moderate',
    tags: [ 'cat.tables', 'best-practice' ],
    description: 'Ensures the scope attribute is used correctly on tables',
    help: 'scope attribute should be used correctly',
    helpUrl: 'https://dequeuniversity.com/rules/axe/3.5/scope-attr-valid?application=axeAPI',
    nodes: [
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object]
    ]
  }
]

⚠️ These issues will also appear on the individual Component pages once we start testing those.

Related Issues


Before you hit Submit, make sure you’ve done whichever of these applies to you:

  • Follow the 18F Front End Coding Style Guide and Accessibility Guide.
  • Run npm test and make sure the tests for the files you have changed have passed.
  • Run your code through HTML_CodeSniffer and make sure it’s error free.
  • Title your pull request using this format: [Website] - [UI component]: Brief statement describing what this pull request solves.

@mejiaj

mejiaj commented Nov 24, 2020

Copy link
Copy Markdown
Contributor Author

Once this gets merged in it will cause tests to fail because of the newly discovered accessibility issues (#1093 & #1094)

@thisisdano

Copy link
Copy Markdown
Contributor

No longer necessary given the full-site accessibility scans we added in #1227

@thisisdano thisisdano closed this Jun 7, 2021
@mejiaj
mejiaj deleted the jm-a11y-testing branch December 19, 2022 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants