Open Bug 543532 Opened 14 years ago Updated 2 years ago

mochitest-a11y: accessible/tree/test_combobox.xul fails on osx

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

People

(Reporter: davidb, Unassigned)

References

(Blocks 1 open bug)

Details

For menulist2, we get 3 children but expected 4. I took a quick look in DOMi and the DOM+XBL tree looked right. Filing for future debugging.

Note OSX a11y mochitests are not currently enabled on tinderbox.
(In reply to comment #0)
> For menulist2, we get 3 children but expected 4. I took a quick look in DOMi
> and the DOM+XBL tree looked right.

you should inspect accessible tree.
(In reply to comment #1)
> (In reply to comment #0)
> > For menulist2, we get 3 children but expected 4. I took a quick look in DOMi
> > and the DOM+XBL tree looked right.
> 
> you should inspect accessible tree.

Yep I realized that after I closed and rebuilt; which blew away my DOMi install for the mochitest profile.
Cross-referencing the node tree with the a11y tree, we don't seem to be picking
up the xul:dropmarker; I'm not used to DOMi though... it looks like the
dropmarker xbl:inherits disabled state, so maybe the right fix is to just not
expect the dropmarker (button)?
I seem to be getting this failure on trunk (locally) as well...
(In reply to comment #3)
> Cross-referencing the node tree with the a11y tree, we don't seem to be picking
> up the xul:dropmarker; I'm not used to DOMi though... it looks like the
> dropmarker xbl:inherits disabled state, so maybe the right fix is to just not
> expect the dropmarker (button)?

disabled is not a reason to not expose an accessible. It's better to check with DOMi to be sure you deal with cross platform code.
I was using DOMi in comment 3 :)
(In reply to comment #5)
> disabled is not a reason to not expose an accessible.

true, it is just a state after all.
What is the exact reported error?
(related to bug 535893?)
Summary: accessible/tree/test_combobox.xul fails on osx → mochitest-a11y: accessible/tree/test_combobox.xul fails on osx
(In reply to Serge Gautherie (:sgautherie) from comment #8)
> What is the exact reported error?
> (related to bug 535893?)

failed | Different amount of expected children of ['menuitem node', role: combobox option, name: 'item', address: 0x1261a5f80]. - got 1, expected 0.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.