Closed Bug 425213 Opened 16 years ago Closed 16 years ago

FOCUSABLE state not exposed for descendants of container with aria-activedescendant

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

References

(Blocks 1 open bug, )

Details

(Keywords: access, Whiteboard: Needed for accessible mashup widgets (a major use case for ARIA))

Attachments

(1 file)

When aria-activedescendant is used, any descendant child of it with an ID is potentially focusable.

We should expose at least those descendants of the aria-activedescendant container with an ID and a role as being FOCUSABLE. I'm requiring a role in this algorithm because real HTML form controls are focusable anyway.

Testcase: http://www.mozilla.org/access/dhtml/listbox

Note: aria-activedescendant="" means that a descendant is potentially focused, but currently the container itself has focus.
Attachment #311821 - Flags: review?(surkov.alexander)
Blocks: aria
Keywords: access
// ancestor has activedescendant property, this content could be activ

nit: line up this line

It's interesting to know how do you assume to deal with the bug 425125 which is the part of this one
Comment on attachment 311821 [details] [diff] [review]
Expose FOCUSABLE if has role and id, and ancestor has aria-activedescendant

r=me
Attachment #311821 - Flags: review?(surkov.alexander)
Attachment #311821 - Flags: review+
Attachment #311821 - Flags: approval1.9?
Whiteboard: Needed for accessible mashup widgets
Whiteboard: Needed for accessible mashup widgets → Needed for accessible mashup widgets (a major use case for ARIA)
Comment on attachment 311821 [details] [diff] [review]
Expose FOCUSABLE if has role and id, and ancestor has aria-activedescendant

a=beltzner
Attachment #311821 - Flags: approval1.9? → approval1.9+
Requesting that this be checked in on Aaron's behalf. Aaron is away from the computer for another couple of days. Thanks!
Keywords: checkin-needed
Merged to work after checkin for bug 425125, and checked in:
Checking in mozilla/accessible/src/base/nsAccessibilityService.cpp;
/cvsroot/mozilla/accessible/src/base/nsAccessibilityService.cpp,v  <--  nsAccessibilityService.cpp
new revision: 1.276; previous revision: 1.275
done
Checking in mozilla/accessible/src/base/nsAccessible.cpp;
/cvsroot/mozilla/accessible/src/base/nsAccessible.cpp,v  <--  nsAccessible.cpp
new revision: 1.368; previous revision: 1.367
done
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
in-testsuite?
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: