Closed Bug 363846 Opened 18 years ago Closed 8 years ago

[Mac a11y] Make accessibles that don't have an action expose the parent's actions

Categories

(Core :: Disability Access APIs, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: hwaara, Assigned: hwaara)

Details

(Whiteboard: [auto-closed:inactivity])

Attachments

(1 file)

1.09 KB, patch
surkov
: review+
ginnchen+exoracle
: review-
Details | Diff | Splinter Review
For accessibles with no action, they might as well inherit the parent's actions so *something* is possible to do while that object has focus.

For example, if the hierarchy looks like this:

<lots of parents>
 <AXLink>
  <AXImage>

An image by itself has no actions, but the link has the click action, so the image should be clickable.

This seems to be what also Safari does.
Attached patch FixSplinter Review
Attachment #248661 - Flags: review?(surkov.alexander)
Comment on attachment 248661 [details] [diff] [review]
Fix

Looks ok. But please get additional review from aaronlev or somebody else who will capable to confirm how much this is accessible :) I just didn't see in accessibility code something similar.
Attachment #248661 - Flags: review?(surkov.alexander) → review+
Comment on attachment 248661 [details] [diff] [review]
Fix

Ginn, this fix is so that children (that have no actions) will inherit the action of their parent.

For example, an image by itself has no action. But let's say a link does.

If the hierarchy looks like this:

AXLink
  AXImage

Then the image will get that action too (so you can execute it, when the image has focus).
Attachment #248661 - Flags: review?(ginn.chen)
Actually, now that I mention it, AXLinks don't have the click action. I should probably fix that. :)  Filed bug 363927
I'm not sure about this approach.
I think it's not the same way we did in XP code.

Aaron, what do you think? 
Comment on attachment 248661 [details] [diff] [review]
Fix

Håkan, I don't think it works.

I got action AXRaise for everything for everything in the web page.
Because it tries to get its parent, parent's parent, ..., till AXWindow.

For Safari, the action I got is like this,
AXWindow --- AXRaise
  AXGroup --- no action
     AXScrollArea -- no action
       AXWebArea -- no action
          AXLink -- AXPress
Attachment #248661 - Flags: review?(ginn.chen) → review-
AUTO-CLOSED. This bug untouched for over 2000 days. Please reopen if you can confirm the bug and help it progress.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [auto-closed:inactivity]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: