This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 39437 - DialogDialogDisplayer.notify() does not provide any mechanism to set accessible description
Summary: DialogDialogDisplayer.notify() does not provide any mechanism to set accessib...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: A11Y, API
Depends on:
Blocks:
 
Reported: 2004-01-31 00:15 UTC by Ana.von Klopp
Modified: 2013-02-28 14:05 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
example of accessible notification (1.19 KB, text/plain)
2004-02-02 10:22 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ana.von Klopp 2004-01-31 00:15:24 UTC
With DialogDecscriptor.createDialog the end result 
is a dialog and you can set an accessible 
description of that. However, if you use the 
notify method, you do not have access to an object 
that has an accessible context.
Comment 1 Ana.von Klopp 2004-01-31 00:16:27 UTC
The workaround is to use the createDialog mechanism
Comment 2 Jiri Rechtacek 2004-02-02 10:22:02 UTC
Created attachment 13183 [details]
example of accessible notification
Comment 3 Jiri Rechtacek 2004-02-02 10:24:20 UTC
This is not any defect, only an idea for enhancement. A notify message
can be easy accessible (see at attachment). Perhaps, DialogDisplayer
would do more support for A11Y but I don't see any suitable way. I
decrease the priority because there is a workaround.
Comment 4 Ana.von Klopp 2004-02-02 17:47:48 UTC
This bug is not about the individual components in the dialog - I'm 
not requesting accessibility setters for those. I had already made 
them accessible. The a11y test complains that the dialog *itself* does 
not have an accessible description, not the components on it. 

When I use the create method, it returns a dialog and I can get to the 
accessible context of that dialog to set an accessible description:

===============================================
 Tested Window title : View Value
===============================================

 No Accessible description :
   Class:
org.netbeans.core.windows.services.NbPresenter { 
View Value |  }

Comment 5 Jiri Rechtacek 2004-02-03 14:30:40 UTC
Thanks for explication, it's truth the DialogDisplayer.notify()
doesn't return a dialog which can be made accessible. This will ask
API change, accessible texts as parameters or overtaken context from
message's accessible context.

*** This issue has been marked as a duplicate of 39142 ***
Comment 6 Jiri Rechtacek 2004-02-05 13:39:26 UTC
Sorry, not duplicate of 39142 -> reopened.
Comment 7 Stanislav Aubrecht 2013-02-28 14:05:40 UTC
The message passed into NotifyDescriptor c'tor can be an instance of javax.accessibility.Accessible and in such case the presenter window will use that accessible info.