Closed Bug 942650 Opened 11 years ago Closed 11 years ago

Some toolbars have unknown accessible role or worse

Categories

(Core :: Disability Access APIs, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28
Tracking Status
firefox28 --- fixed

People

(Reporter: Jamie, Assigned: surkov)

Details

(Keywords: regression)

Attachments

(1 file)

Str:
1. Locate the accessible for the Navigation Toolbar (the parent of the address bar).
2. Check its accessible role (e.g. IAccessible2::role).
Expected: Role is toolbar.
Actual: Role is unknown.
3. Locate the accessible for the Browser Tabs toolbar (the parent of the tab control).
4. Check its accessible role.
Expected: Role is toolbar.
Actual: Role is unknown.
These both have a tag of "toolbar".

This next one is different:
5. Enable View -> Toolbars -> Bookmarks Toolbar.
6. Locate the accessible for the Most Visited button. (I assume is part of the Bookmarks toolbar, since it disappears when I disable it.)
7. Check the parent of this accessible.
Expected: The parent should be a toolbar.
Actual: The parent is the top level frame. There's not even an accessible with role unknown. The Navigation Toolbar is a sibling.

I'm guessing this has something to do with Australis.
Marco, maybe you could take a look since you know UI part?
Yes, I can confirm exactly as Jamie describes. A total mess.
(In reply to Marco Zehe (:MarcoZ) from comment #2)
> Yes, I can confirm exactly as Jamie describes. A total mess.

Do you know that part of code?
And this was not the case when I first tested Australlis build of November 18. Do we have another caching problem here?
(In reply to alexander :surkov from comment #3)
> Do you know that part of code?

No.
(In reply to Marco Zehe (:MarcoZ) from comment #4)
> And this was not the case when I first tested Australlis build of November
> 18. Do we have another caching problem here?

ok, cc'ing Trev then
Confirm that this is still a case in the newest nightly build, but looks significantly different from the previous caching bug we had. This looks like a broken hierarchy. For example: I am getting doorhanger alerts spoken, but can't find the latest one in the hierarchy anywhere using either NVDA's object navigation or AccExplorer.
I wonder whether this is related to bug 934875. They occurred at different times, but perhaps the same issue is being triggered somehow?
Attached patch patchSplinter Review
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Attachment #8342459 - Flags: review?(trev.saunders)
Comment on attachment 8342459 [details] [diff] [review]
patch

>diff --git a/accessible/public/nsIAccessibleText.idl b/accessible/public/nsIAccessibleText.idl
>--- a/accessible/public/nsIAccessibleText.idl

> 
>-[scriptable, uuid(1e63dd8b-173d-4a68-8ade-fd671abbe1ee)]
>+[scriptable, uuid(88789f40-54c9-494a-846d-3acaaf4cf46a)]

this is part of another bug, ignore it, fixed locally
Attachment #8342459 - Flags: review?(trev.saunders) → review+
Ugh, is this a new implementation, and fronted developers weren't aware that NSIAccessibleProvider had gone, or was this an oversight from refactoring this stuff? May there be other instances lurking somewhere?
(In reply to Marco Zehe (:MarcoZ) from comment #11)
> Ugh, is this a new implementation, and fronted developers weren't aware that
> NSIAccessibleProvider had gone, or was this an oversight from refactoring
> this stuff?

more plausible that was collision, I bet they did a copy/paste and also I bet Trev knows how to use search, so I guess they copied/pasted before Trevor pushed the change and landed the patch right after that.

> May there be other instances lurking somewhere?

mozilla-central search doesn't reveal anything
should it be backported somewhere?
(In reply to alexander :surkov from comment #14)
> should it be backported somewhere?

I think this is an Australlis specific fix, so does not need to be back-ported.
Please reland this with 'Australis' in the commit message. You can do a backout and a re-push with the adjusted commit message and specify DONTBUILD so we don't waste build resources.
Flags: needinfo?(surkov.alexander)
CC'ing folks so they're aware when merging
https://hg.mozilla.org/mozilla-central/rev/328d23950f63
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
James Teh, can you please confirm this is fixed for you now in the latest Beta?
Flags: needinfo?(jamie)
(In reply to Anthony Hughes, QA Mentor (:ashughes) from comment #20)
> James Teh, can you please confirm this is fixed for you now in the latest
> Beta?

Clearing this long overdue request.
Flags: needinfo?(jamie)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: