Closed Bug 382860 Opened 15 years ago Closed 15 years ago
No caret events in CSS scrollable area
263 bytes, text/html
Use nsHyperTextAccessibleWrap (which inherits from nsAccessibleWrap) for generic HTML container accessibles instead of nsAccessibleWrap. It supports the caret and selection.
1.32 KB, patch
|Details | Diff | Splinter Review|
Caret events are not being correctly fired in DOM nodes made accessible because they are scrollable (and thus need to be focusable so keyboard users can scroll them). Load the attached testcase and turn on caret browsing. Caret move events will not be fired for the object.
Comment on attachment 266929 [details] [diff] [review] Use nsHyperTextAccessibleWrap (which inherits from nsAccessibleWrap) for generic HTML container accessibles instead of nsAccessibleWrap. It supports the caret and selection. I guess it's ok to create hypertext accessible for all frames we have not enough info about. Though probably we should get rid CreateHTMLGenericAccessible at all, or is it better to keep it for possible future changes?
Attachment #266929 - Flags: review?(surkov.alexander) → review+
I filed bug 382966 for that cleanup -- we only need one of those methods.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.