dequelabs / dequelabs/axe-core
ARIA in HTML updates re: popovertarget and command attributes
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
[ARIA in HTML](https://github.com/w3c/html-aria/pull/514) is updating to identify misuse of `aria-expanded` when used on a button element that also have a `popovertarget` or `command` attribute specified.
These updates mirror other similar rules such as input type=checkbox discouraging use of `aria-checked` since the browser already handles these states and the use of author specified ARIA attributes is redundant at best, and can lead to potential misalignments that browsers _should_ correct for - though there have been issues with this in the past.
This [reduced test case](https://w3c.github.io/html-aria/tests/popover-and-command.html) helps illustrate the updates to the spec.
Contributor guide
Assessment
This issue has not been assessed yet.