dequelabs / dequelabs/axe-core
Possible incorrect results for `Values assigned to role="" are not valid ARIA roles.` ARIA check in Lighthouse audit
Open
docs
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
### Product
axe-core
### Product Version
`"^4.9.0"`
### Latest Version
- [X] I have tested the issue with the latest version of the product
### Issue Description
#### Expectation
Reported ARIA `role` violations should actually be violations.
#### Actual
The ARIA check seems to report failures on a valid ARIA `role`, at least according to https://dequeuniversity.com/rules/axe/4.8/aria-allowed-role.
#### How to Reproduce
```html
body.chakra-ui-light > div.chakra-portal > ul#chakra-toast-manager-top
body.chakra-ui-light > div.chakra-portal > ul#chakra-toast-manager-top-left
body.chakra-ui-light > div.chakra-portal > ul#chakra-toast-manager-top-right
body.chakra-ui-light > div.chakra-portal > ul#chakra-toast-manager-bottom-left
body.chakra-ui-light > div.chakra-portal > ul#chakra-toast-manager-bottom
body.chakra-ui-light > div.chakra-portal > ul#chakra-toast-manager-bottom-right
```
Contributor guide
Assessment
This issue has not been assessed yet.