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

RESOLVED FIXED in mozilla1.1alpha

Status

()

Core
Disability Access APIs
P1
major
RESOLVED FIXED
15 years ago
15 years ago

People

(Reporter: Aaron Leventhal, Assigned: Aaron Leventhal)

Tracking

({access, sec508})

Trunk
mozilla1.1alpha
x86
Windows 2000
access, sec508
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

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

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

15 years ago
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.
(Assignee)

Updated

15 years ago
Severity: normal → major
Keywords: access, sec508
(Assignee)

Comment 1

15 years ago
Created attachment 77171 [details] [diff] [review]
Uses nsIAccessibleProvider() to to return accessible for input type="checkbox"

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]
************************************************************
(Assignee)

Updated

15 years ago
Whiteboard: [ADT3 RTM] - marking same as general XBLFC (57209)
(Assignee)

Updated

15 years ago
Blocks: 127812
(Assignee)

Comment 2

15 years ago
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
(Assignee)

Updated

15 years ago
Depends on: 104907
(Assignee)

Comment 3

15 years ago
Created attachment 83455 [details] [diff] [review]
Requires use of enablePrivilege('UniversalXPConnect') on file:// URL's in order to work, but good enough to start development

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 4

15 years ago
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+
(Assignee)

Comment 6

15 years ago
checked in
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.