dequelabs / dequelabs/axe-core
Modal Dialog check reports focus is not maintained within modal but unable to reproduce
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
### Product
axe Extension
### Product Version
4.52.0
### Latest Version
- [X] I have tested the issue with the latest version of the product
### Issue Description
#### Expectation
Modal Dialog keyboard focus check should report where focus can leave a modal only when focus is definitely able to leave modal using keyboard.
#### Actual
The issue raised says that keyboard focus is not maintained within the modal with no information about what can be focused and I have been unable to reproduce the issue.
#### How to Reproduce
1) Navigate to colingm.github.io/pendo-dev
2) Click on the badge that looks like an "i" (`#_pendo-badge_lCQ_9DAgLJlfA6nibXYmUf-HucE`)
3) Perform the modal dialog tests on the modal
#### Additional context
I have tried using standard tab and shift+tab navigation as well as using the VoiceOver line controls to break outside of the modal but have been unable to do so. I'm not sure if it is doing some other static analysis about something that could "theoretically" break outside of the modal or if it is actually able to do so. It would be helpful that if it were actually able to break out of the modal if it would include the first element it was able to focus.
Contributor guide
Assessment
This issue has not been assessed yet.