Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automation Update - Count number of issues detected by Accessibility check and update slack message with that value #10311

Conversation

lexicalninja
Copy link
Contributor

@lexicalninja lexicalninja commented Dec 4, 2024

Description of Change

closes #8524

This PR updates the a11y check on the doc site to include total number of errors, as well as the total pages with errors that it already reports.

It should out put the following template to the build channel on its regular schedule:

Accessibility issues detected. Please review and fix. Build started by AUTOBOT: REF LINK URL. See :thread: or <www.github.com/department-of-veterans-affairs/va-mobile-app/actions/runs/424242424242> for results. Number of pages with errors: INT Total number of accessibility issues detected: INT

Screenshots/Video

Testing

This run

and

This Slack thread

  • Tested on iOS
  • Tested on Android

Reviewer Validations

PR Checklist

Reviewer: Confirm the items below as you review

  • PR is connected to issue(s)
  • Tests are included to cover this change (when possible)
  • No magic strings (All string unions follow the Union -> Constant type pattern)
  • No secrets or API keys are checked in
  • All imports are absolute (no relative imports)
  • New functions and Redux work have proper TSDoc annotations

For QA

Run a build for this branch

@timwright12
Copy link
Contributor

@lexicalninja can you link up to a slack message of this working? I'm seeing empty returns in the CI example

@lexicalninja
Copy link
Contributor Author

@timwright12 i can probably do a couple commits to force a run. the message didnt work because of the issue resolved by #10269

@lexicalninja
Copy link
Contributor Author

@timwright12 updated the PR with the workflow run and slack message from a minute ago

…detected-by-accessibility-check-and-update-slack-message-with-that-value
Copy link
Contributor

@timwright12 timwright12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Saw the slack alert. Looks awesome and also... omg

@lexicalninja
Copy link
Contributor Author

@IsraelleHub let me know if you have any changes that you would like to see before i merge

@IsraelleHub
Copy link
Contributor

@lexicalninja Looks very awesome. Thank you for unblocking this!

@lexicalninja lexicalninja merged commit f9e3e3d into develop Dec 4, 2024
21 checks passed
@lexicalninja lexicalninja deleted the 8524-automation---count-number-of-issues-detected-by-accessibility-check-and-update-slack-message-with-that-value branch December 4, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Accessibility awareness or needs for the ticket devops documentation FE-Ready to Merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automation - Count number of issues detected by Accessibility check and update slack message with that value
3 participants