Closed Bug 134787 Opened 22 years ago Closed 22 years ago

[XBLFC] Active Accessibility: support XBL-based HTML form controls

Categories

(Core :: Disability Access APIs, defect, P1)

x86
Windows 2000
defect

Tracking

()

RESOLVED FIXED
mozilla1.1alpha

People

(Reporter: aaronlev, Assigned: aaronlev)

References

Details

(Keywords: access, Whiteboard: [ADT3 RTM] - marking same as general XBLFC (57209))

Attachments

(1 file, 1 obsolete file)

Bug 57209 is Brian Ryner's bugs to implement HTML form controls in XBL.

This bug is to get the same MSAA support we have form the old HTML form controls
with these new form controls.
Severity: normal → major
Keywords: access, sec508
This changes GetAccesibleFor(), to use nsIAccessibleProvider whenever it is
implemented for an element type, not just for XUL.

It also tries to implement nsIAccessibleProvider() for a checkbox.

We get the nsIAccessibleProvider, but when we try to GetAccessible() with it,
we get:

************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'Permission denied to get property UnnamedClass.classes' when
cal
ling method: [nsIAccessibleProvider::accessible]"  nsresult: "0x8057001e
(NS_ERR
OR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]
************************************************************
Whiteboard: [ADT3 RTM] - marking same as general XBLFC (57209)
Blocks: atfmeta
When checkbox.xml's GetAccessible() implementation tries to use
Components.classes,it runs into a security error:
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'Permission denied to get property UnnamedClass.classes' when ca
ling method: [nsIAccessibleProvider::accessible]"  nsresult: "0x8057001e (NS_ER
OR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]

We need some way to get nsIAccessibilityService().

This is apparently similar to the error Dharma and John Gaunt were getting in
bug 138020.
Component: Browser-General → Accessibility APIs
Priority: -- → P1
QA Contact: Matti → dsirnapalli
Target Milestone: --- → mozilla1.1alpha
Depends on: 104907
Unfortunately this means for now we'll have 3 kinds of checkbox accessible
creation methods.

I'll open new bugs for other controls. Seeking r= for checkbox.
Attachment #77171 - Attachment is obsolete: true
Comment on attachment 83455 [details] [diff] [review]
Requires use of enablePrivilege('UniversalXPConnect') on file:// URL's in order to work, but good enough to start development

r=jgaunt
Attachment #83455 - Flags: review+
Comment on attachment 83455 [details] [diff] [review]
Requires use of enablePrivilege('UniversalXPConnect') on file:// URL's in order to work, but good enough to start development

sr=jst
Attachment #83455 - Flags: superreview+
checked in
Status: NEW → RESOLVED
Closed: 22 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: