[BUG] ComboBox "An element's BoundingRectangle must not obscure its container element"
cjw1115 opened this issue · 6 comments
Describe the bug
A right aligned ComboBox can not pass the insights tool test when it is open. But for the left aligned, it has no such issue.
To Reproduce
Steps to reproduce the behavior:
- Create a empty UWP project
- Add a ComboBox with original style in main page, and put it in right of page.
- Launch accessibility insights tool, and.
- Open the ComboxBox and make the drop down list shown.
- We can find there is a close button, and run test for this button in insights tool.
Expected behavior
It should pass the test, because it is a official control without any change.
Actual behavior
it can not pass, and show
Desktop:
- OS: Windows 10 18362.19h1
- Accessibility Insights for Windows Version: 1.1.1467.01
Thanks for filing the issue, @cjw1115. I was able to confirm your repro steps; the issue seems to be happening because the default "light dismiss" behavior of an expanded UWP ComboBox (where the menu is dismissed if the user clicks outside the area of the open menu) works by having the close button extend invisibly to the boundaries of the whole window, underneath the menu items. It's not clear to me based on my initial reading of the UI Automation docs for the ComboBox pattern and BoundingRectangle property whether this is actually a violation (ie, a UWP bug) or not (ie, a false positive bug for axe-windows, similar to #322).
@RobGallo / @iamrafan / @guybark , do you have thoughts on whether what UWP is doing here seems allowable?
This issue has been marked as ready for team triage; we will triage it in our weekly review and update the issue. Thank you for contributing to Accessibility Insights!
This issue requires additional investigation by the Accessibility Insights team. When the issue is ready to be triaged again, we will update the issue with the investigation result and add "status: ready for triage". Thank you for contributing to Accessibility Insights!
This issue requires additional investigation by the Accessibility Insights team. When the issue is ready to be triaged again, we will update the issue with the investigation result and add "status: ready for triage". Thank you for contributing to Accessibility Insights!