Closed Bug 302937 Opened 19 years ago Closed 18 years ago

Expose "click" action on text and image leaves of element containing onclick

Categories

(Core :: Disability Access APIs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

Details

(Keywords: access)

Attachments

(1 file)

For onclick we should parallel what we do for links, we expose the link actions
on the leaf text and image content. This helps the screen reader handle the
links and actionable items.

In the future we may provide more actions via XML Events or some way of
describing actions, and we will want to expose those actions on the actual leaf
content as well.
Attachment #191207 - Flags: review?(parente)
Comment on attachment 191207 [details] [diff] [review]
1) Have nsLinkableAccessible handle onclicks (probably should rename to nsActionableAccessible or something but that would bloat patch) , 2) Initialize action immediately

Should nsAccessible::getNumActions return NS_OK?
Attachment #191207 - Flags: review?(parente) → review+
Comment on attachment 191207 [details] [diff] [review]
1) Have nsLinkableAccessible handle onclicks (probably should rename to nsActionableAccessible or something but that would bloat patch) , 2) Initialize action immediately

Yeah lets have it return 0 and NS_OK for nsAccessible::getNumActions
Attachment #191207 - Flags: superreview?(roc)
Attachment #191207 - Flags: superreview?(roc) → superreview?(jst)
Comment on attachment 191207 [details] [diff] [review]
1) Have nsLinkableAccessible handle onclicks (probably should rename to nsActionableAccessible or something but that would bloat patch) , 2) Initialize action immediately

sr=jst
Attachment #191207 - Flags: superreview?(jst) → superreview+
Attachment #191207 - Flags: approval1.8b4?
Attachment #191207 - Flags: approval1.8b4? → approval1.8b4+
  if (!mIsLink)  // Also initializes private data members 

That comment seems wrong now...
Looks like this was checked in ages ago and I forgot to mark it fixed.
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

Created:
Updated:
Size: