|
Bugzilla – Full Text Bug Listing |
| Summary: | AccessibleDescription property of SWF controls is not visible to ATs | ||
|---|---|---|---|
| Product: | [Mono] UI Automation | Reporter: | Brian Merrell <bgmerrell> |
| Component: | Winforms - ATK | Assignee: | Michael Gorse <mgorse> |
| Status: | VERIFIED FIXED | QA Contact: | E-mail List <mono-a11y-qa> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | mgorse |
| Version: | Unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Integration Test | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
In UIA, both SWF.Control.AccessibleDescription or ToolTip.GetValue(Control) are returned returned using Provider.GetPropertyValue (AutomationElementIdentifiers.HelpTextProperty.Id) UIAutomationWinforms-trunk r121145. *** Bug 457830 has been marked as a duplicate of this bug. *** Be aware that ToolTip has higher priority than AccessibleDescription. Fixed in UiaAtkBridge R121267. Verified in: [ ] mono-uia-123523-236.i586.rpm 16-Jan-2009 12:31 [ ] mono-winforms-123629-267.i586.rpm 16-Jan-2009 12:31 [ ] uiaatkbridge-123630-422.i586.rpm 16-Jan-2009 12:31 [ ] uiautomationwinforms-123626-447.i586.rpm 16-Jan-2009 12:31 Closing. |
PROBLEM STATEMENT In Gtk, you can use something like widget.Accessible.Description = "foo" (gtk#) or widget.get_accessible().set_description("foo") (pygtk) to explicitly set the accessible description of a widget. This description then appears as the description for widget's accessible in an accessibility tool (AT) REPRO 1. Open Accerciser, click on the "Interface Viewer" tab, and expand the "Accessible" expander. 2. Run uia2atk/test/samples/gtktextview.py 3. Browse to the TextView in Accerciser's left pane 4. In the interface viewer tab, observe that the TextView accessible's description is "explicitly set description". This is because of line 25 of the sample's code which is "self.bar.get_accessible().set_description("explicitly set description")" 5. Run uia2atk/test/samples/textbox.py 6. Browse to the accessible of the first TextBox (labeled "Normal TextBox") in Accerciser (which is actually listed last in accerciser) RESULTS The TextBox accessible has no description despite having the following code on line 31 of the textbox.py sample: self.textbox1.AccessibleDescription = "explicitly set description" EXPECTED RESULTS I would expect the TextBox accessible's description to be "explicitly set description", like in the Gtk example in the REPRO steps. COMMENTS I believe Mario has already started working on this. It was discussed in IRC and on the mono-a11y mailling list on Dec 9th (today).