axe-core
axe-core copied to clipboard
Add support for `aria-labeledby` (not labeLLedby)
This synonym attribute seems to have full support in the three major browser engines now: https://github.com/w3c/aria/issues/2093
Should do some screen reader testing, but from the sound of if this should no longer fail axe-core's button-name rule:
<span hidden id="search">Search</span>
<button class="search-icon" aria-labeledby="search"></button>
Or fail with a warning ("Attribute misspelled") instead of an error.
Actually looking at the results in Gecko (click show details), Firefox's implementation of the non-standard spelling is very incomplete, so it's possible the ARIA WG decision may not be to document and keep it. Probably best for Axe Core not to change until that decision is made.