|
Bugzilla – Full Text Bug Listing |
| Summary: | Accessible properties are not set but after calling AccessibilityObject | ||
|---|---|---|---|
| Product: | [Mono] Mono: Class Libraries | Reporter: | Mario Carrion <mcarrion> |
| Component: | Windows.Forms | Assignee: | Mario Carrion <mcarrion> |
| Status: | RESOLVED FIXED | QA Contact: | Mono Bugs <mono-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | SVN | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Beta-Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 457845 | ||
| Attachments: |
Example.
Proposed patch. Proposed patch. |
||
Created attachment 260177 [details]
Proposed patch.
Test commited: r121558 Fix committed: r121561 Reopening due to reverted commit. Created attachment 261742 [details]
Proposed patch.
Seems that .NET is keeping a local copy for: AccessibleDefaultActionDescription, AccessibleDescription, AccessibleName and AccessibleRole; and is not using AccessibleObject.
I've also updated the test (CreatedAccessibilityTest) to match the behavior.
Patch applied r122002 Closing. |
Created attachment 260176 [details] Example. In order to set: - Control.AccessibleDefaultActionDescription, - Control.AccessibleDescription, - Control.AccessibleName, or - Control.AccessibleRole you need to call Control.AccessibilityObject. Run the attached example: gmcs -r:System.Windows.Forms,System,System.Drawing Program.cs -t:exe && mono Program.exe 1. Click: "Print accessible" button, you get the following output: Button1.AccessibleName: Button1.AccessibleDescription : Button1.AccessibleDefaultActionDescription: 2. Click: "AccessibleName is" button, you don't get any output, AccessibleXXX properties are set. 3. Click: "Print accessible" button, you should get the following output: Button1.AccessibleName: AccessibleName is not empty Button1.AccessibleDescription : AccessibleDescription is not empty Button1.AccessibleDefaultActionDescription: AccessibleDefaultActionDescription is not empty however you are getting the same output as in step 1.