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

chore: use @axe-core/react in dev #4358

Merged
merged 1 commit into from
Jun 11, 2024
Merged

chore: use @axe-core/react in dev #4358

merged 1 commit into from
Jun 11, 2024

Conversation

barmac
Copy link
Collaborator

@barmac barmac commented Jun 10, 2024

image

This dev tool should help us to identify accessibility issues. We will need to drop it with React 18 upgrade (some day...), but until then it should be useful.

Related to https://github.com/bpmn-io/internal-docs/issues/909

@barmac barmac requested review from a team, philippfromme and marstamm and removed request for a team June 10, 2024 13:27
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Jun 10, 2024
@barmac barmac requested a review from nikku June 10, 2024 13:27
@nikku
Copy link
Member

nikku commented Jun 10, 2024

Could you share additional context what this accomplishes? Cf. bpmn-io/.github#7.

@barmac
Copy link
Collaborator Author

barmac commented Jun 10, 2024

Yes! I will add a screenshot.

@barmac
Copy link
Collaborator Author

barmac commented Jun 10, 2024

Screenshot added.

The strong point of this tool is that it continuously scans the application in contrast to the chrome extension which has to be run manually. So we can click around, and then collect the reports.

We could also wrap it in a Desktop Modeler plugin, but for that we'd need to expose ReactDOM on the window. That could be useful though during the integration tests. Otherwise, we'd need to npm start on a branch so not on the release artifacts.

Copy link
Member

@nikku nikku left a comment

Choose a reason for hiding this comment

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

Looks great. Let's add it to "implemented measures" in https://github.com/bpmn-io/internal-docs/issues/909.

@nikku nikku merged commit 6a3b9fd into develop Jun 11, 2024
15 checks passed
@nikku nikku deleted the @axe-core/react branch June 11, 2024 08:24
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Jun 11, 2024
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