dequelabs / dequelabs/axe-core

Odd errors when importing aria/get-role

Open
#3,281 1 comment 0 reactions 0 assignees View on GitHub
tech debt
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

While working on #3275 I found that when I imported `aria/get-role` into `dom/is-skip-link`, axe-core for some reason completely broke. Just importing would do it. Did not require invoking getRole. I couldn't figure out the problem, and so moved passed it. I don't see how something like that could cause problems. There's clearly something going on in our build system that we don't understand. I would like to know what that is, so we don't run into this at a time where we don't have a simple work-around.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.