Closed Bug 339965 Opened 18 years ago Closed 18 years ago

Remove hidden window from accessibility hierarchy

Categories

(Core :: Widget: Cocoa, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: hwaara, Assigned: hwaara)

References

Details

Attachments

(2 obsolete files)

The hidden window shouldn't show up for third parties. An easy way to test is to use the tool "Accessibility Verifier" that ships with XCode, where the hidden window shows up and is inspectable.
Attached patch Fix v1 (obsolete) — Splinter Review
The fix is to create a subclass for our hidden window, that will always be ignored for accessibility. The hidden window's ChildView also checks to see if it's inside the hidden window.
Attachment #224069 - Flags: review?(joshmoz)
Comment on attachment 224069 [details] [diff] [review] Fix v1 Actually, currently our ChildViews are always ignored for accessibility. We should stay that way for now (until I teach gecko how to understand their contents and make them visible).
Attachment #224069 - Attachment is obsolete: true
Attachment #224069 - Flags: review?(joshmoz)
Attached patch Fix v2 (obsolete) — Splinter Review
More comments, and don't make ChildViews unignored (yet).
Attachment #224073 - Flags: review?(joshmoz)
Josh said this will have to go in after sheets, so making a dependency.
Depends on: 330587
Comment on attachment 224073 [details] [diff] [review] Fix v2 drop the funny characters bt "TODO"
Attachment #224073 - Flags: review?(mark)
Attachment #224073 - Flags: review?(joshmoz)
Attachment #224073 - Flags: review+
Comment on attachment 224073 [details] [diff] [review] Fix v2 This patch is now obsolete because I've come a long way past this now, and will have a slightly broader approach. I'll post a bigger patch in another bug later when I have it working.
Attachment #224073 - Attachment is obsolete: true
Attachment #224073 - Flags: review?(mark)
Blocks: osxa11y
Fixed along with bug 342146.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: