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.
axe-coreversion4.3.4caused a number of our tests to start breaking because we placearia-expandedon things liked2l-button,d2l-subtle-button, etc. We then pass down the value into thearia-expandedattribute on the actual nativebutton. Even though this works from a screenreader POV, we really should be using something like justexpandedhere. This may be an issue for otheraria-*attributes as well.The change was reverted in
4.3.5after discussion in this issue: dequelabs/axe-core#3241It'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 bothcoretests and everywhere that usesd2l-buttontests) or having to lock ouraxe-coreversion everywhere.