-
Notifications
You must be signed in to change notification settings - Fork 29
Description
axe-core version 4.3.4 caused a number of our tests to start breaking because we place aria-expanded on things like d2l-button, d2l-subtle-button, etc. We then pass down the value into the aria-expanded attribute on the actual native button. Even though this works from a screenreader POV, we really should be using something like just expanded here. This may be an issue for other aria-* attributes as well.
The change was reverted in 4.3.5 after discussion in this issue: dequelabs/axe-core#3241
It's still unknown whether this will be added back in version 4.4.0, or if it will be added as a warning. But we should go through and fix these when we can to avoid lots of warnings (in both core tests and everywhere that uses d2l-button tests) or having to lock our axe-core version everywhere.