Closed Bug 187209 Opened 23 years ago Closed 23 years ago

role for toplevel should be "frame"

Categories

(Core :: Disability Access APIs, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: yinbolian, Assigned: browser-china-atf)

References

Details

(Keywords: access)

Attachments

(1 file, 5 obsolete files)

mass changing QA contact to Jessie Li.
Status: NEW → ASSIGNED
QA Contact: dsirnapalli → jessie.li
Attached patch patch (obsolete) — Splinter Review
change the role of Application-Level and TopLevel
Attachment #110924 - Flags: review?(bolian.yin)
You can simplified this block + //the cross-platform Accessible object return the same value for + //both "ATK_ROLE_MENU_ITEM" and "ATK_ROLE_MENU" + if (accRole == ATK_ROLE_MENU_ITEM) { + gint count = 0; + mAccessible->GetAccChildCount(&count); + if (count > 0) //it should be a popup menu + accRole = ATK_ROLE_MENU; + } to: if ((accRole == ATK_ROLE_MENU_ITEM) && GetChildCount()) accRole = ATK_ROLE_MENU;
Attached patch new patch due to comment #3 (obsolete) — Splinter Review
Attachment #110924 - Attachment is obsolete: true
Attachment #110927 - Flags: review?(bolian.yin)
Comment on attachment 110927 [details] [diff] [review] new patch due to comment #3 looks good to me
Attachment #110927 - Flags: review?(bolian.yin) → review+
checked in Trunk. Thanks, Simford.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
It is caused by using a newer version of atk (atk-1.1.x), we need other way to define ATK_ROLE_APPLICATION. Simford will paste a new patch soon.
Attached patch new patch (obsolete) — Splinter Review
added new globlal Contant Value
Attachment #110927 - Attachment is obsolete: true
Attachment #111026 - Flags: review?(bolian.yin)
I think we can match the role constant like: ROLE_APPLICATION -> ATK_ROLE_APPLICATION ROLE_PANE (for toplevel window) -> ATK_ROLE_FRAME ROLE_PANE (for dialog) -> ATK_ROLE_DIALOG ROLE_PANE (for others) -> ATK_ROLE_PANEL
Attached patch patch (obsolete) — Splinter Review
new patch due to comment #10
Attachment #111026 - Attachment is obsolete: true
Attachment #111127 - Flags: review?(bolian.yin)
Attached patch patch (obsolete) — Splinter Review
new patch after some modifications
Attachment #111127 - Attachment is obsolete: true
Attachment #111134 - Flags: review?(bolian.yin)
Attached patch patch-06Splinter Review
change comments
Attachment #111134 - Attachment is obsolete: true
Attachment #111137 - Flags: review?(bolian.yin)
Comment on attachment 111137 [details] [diff] [review] patch-06 I think it is good enough now.
Attachment #111137 - Flags: review?(bolian.yin) → review+
checked in trunk. Thanks.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Attachment #110924 - Flags: review?(bolian.yin)
Attachment #111026 - Flags: review?(bolian.yin)
Attachment #111127 - Flags: review?(bolian.yin)
Attachment #111134 - Flags: review?(bolian.yin)
Blocks: 195190
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: