[Mono-bugs] [Bug 459223] New: Accessible properties are not set but after calling AccessibilityObject

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 15 15:46:13 EST 2008


           Summary: Accessible properties are not set but after calling
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mcarrion at novell.com
         QAContact: mono-bugs at lists.ximian.com
            Blocks: 457845
          Found By: Beta-Customer

Created an attachment (id=260176)
 --> (https://bugzilla.novell.com/attachment.cgi?id=260176)

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

1. Click: "Print accessible" button, you get the following output:

Button1.AccessibleDescription : 

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.

More information about the mono-bugs mailing list