Closed
Bug 390280
Opened 18 years ago
Closed 18 years ago
Support ARIA wairole:img
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
People
(Reporter: aaronlev, Assigned: aaronlev)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(3 files, 3 obsolete files)
|
1.31 KB,
application/xhtml+xml
|
Details | |
|
21.99 KB,
patch
|
ginnchen+exoracle
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
|
1.25 KB,
patch
|
aaronlev
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
The wairole:img is something authors can put on a container that creates an image.
For example this is used when one image is made of many tiles, so that the entire structure is exposed as a single image instead of many.
| Assignee | ||
Comment 1•18 years ago
|
||
| Assignee | ||
Comment 2•18 years ago
|
||
Attachment #274603 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•18 years ago
|
||
Ginn, this needs testing on Linux.
Depending on what we decide in bug 390194, we may decide to expand MustPrune() to include more types of leaf elements. We may even want MustPrune() to be the same for all APIs.
Pruning must be done in platform layer instead of in XP nsIAccessible tree, because nsHyperTextAccessible needs children to support its methods.
Attachment #274608 -
Flags: review?(ginn.chen)
| Assignee | ||
Comment 4•18 years ago
|
||
Attachment #274608 -
Attachment is obsolete: true
Attachment #274609 -
Flags: review?(ginn.chen)
Attachment #274608 -
Flags: review?(ginn.chen)
Comment 5•18 years ago
|
||
Aaron, I think bug 390194 in comment#3 and on Blocks list is a typo. It a Calendar bug.
| Assignee | ||
Comment 6•18 years ago
|
||
Attachment #274609 -
Attachment is obsolete: true
Attachment #274613 -
Flags: review?(ginn.chen)
Attachment #274609 -
Flags: review?(ginn.chen)
| Assignee | ||
Comment 7•18 years ago
|
||
Sorry, bug 390154. Thanks.
Comment 8•18 years ago
|
||
Usually we redefine crossplatform behaviour in wrap classes. It's not totally correct (because AT based on gecko will have different API implementation on different platforms) but I think we should have an ability to strict a children (MustPrune()) in cross platform code too and then MustPrune() will be redefined in wrap classes if needed.
Comment 9•18 years ago
|
||
(In reply to comment #8)
> Usually we redefine crossplatform behaviour in wrap classes. It's not totally
> correct (because AT based on gecko will have different API implementation on
> different platforms) but I think we should have an ability to strict a children
> (MustPrune()) in cross platform code too and then MustPrune() will be redefined
> in wrap classes if needed.
>
Probably you shown a good example based on ROLE_GRAPHIC. If we do not need children on mac or os2 for it then I think we shouldn't have them in crossplatform part too.
Comment 10•18 years ago
|
||
Comment on attachment 274613 [details] [diff] [review]
Don't forget to add to role string table
accessible/src/atk/nsAccessibleWrap.h
static PRBool MustPrune(nsIAccessible *aAccessible); should be moved to public
accessible/src/base/nsAccessibilityService.h
"combobox listitem" //ROLE_COMBOBOX_LISTITEM
+ "image map" //ROLE_IMAGE_MAP
comma is missing after "combobox listitem"
Attachment #274613 -
Flags: review?(ginn.chen) → review+
| Assignee | ||
Comment 11•18 years ago
|
||
Okay, I'll add the comma at checkin time.
| Assignee | ||
Comment 12•18 years ago
|
||
Comment on attachment 274613 [details] [diff] [review]
Don't forget to add to role string table
Need for full ARIA support.
Attachment #274613 -
Flags: review?
Attachment #274613 -
Flags: review? → approval1.9?
Updated•18 years ago
|
Attachment #274613 -
Flags: approval1.9? → approval1.9+
| Assignee | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 13•18 years ago
|
||
Attachment #275226 -
Flags: review?(aaronleventhal)
Attachment #275226 -
Flags: approval1.9?
Comment 14•18 years ago
|
||
Joel, does this patch help?
Comment 15•18 years ago
|
||
Yes, that works!
| Assignee | ||
Comment 16•18 years ago
|
||
Comment on attachment 275226 [details] [diff] [review]
max bustage fix
My mistake, but:
s/ROLE_IMAGE_MAP/ROLE_GRAPHIC
Otherwise it's removing the links from the image children. We only want it to remove the tile children from a flat image (ROLE_GRAPHIC).
Attachment #275226 -
Flags: review?(aaronleventhal) → review+
Updated•18 years ago
|
Attachment #275226 -
Flags: approval1.9? → approval1.9+
Comment 17•18 years ago
|
||
Comment on attachment 275226 [details] [diff] [review]
max bustage fix
checked in
You need to log in
before you can comment on or make changes to this bug.
Description
•