https://bugzilla.novell.com/show_bug.cgi?id=459223
Summary: Accessible properties are not set but after calling
AccessibilityObject
Product: Mono: Class Libraries
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Blocks: 457845
Found By: Beta-Customer
Created an attachment (id=260176)
--> (https://bugzilla.novell.com/attachment.cgi?id=260176)
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.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs