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 128126 - A11Y: No Accessible description of window with title "Insert JSF Form"
Summary: A11Y: No Accessible description of window with title "Insert JSF Form"
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ potingwu
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2008-02-22 11:19 UTC by Roman Mostyka
Modified: 2008-03-13 09:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-02-22 11:19:05 UTC
<HTML><HEAD>
<TITLE>Output from UIAccessibilityTester for window with title : Insert JSF Form </TITLE>
</HEAD>
<BODY>
<PRE>
Results of Accessibility test, window with title "Insert JSF Form"


 Doesn't implement Accessible :
   - none.

 No Accessible name :
   - none.

 No Accessible description :
   Class: org.netbeans.core.windows.services.NbDialog {  Insert JSF Form |  } 


 Label with LABEL_FOR not set :
   - none.

 Components with no LABEL_FOR pointing to it :
   - none.

 Components with no mnemonic :
   - none.

 Components with wrong mnemonic (mnemonic isn't ASCII , label doesn't contain mnemonic):
   - none.

 Components not reachable with tab traversal :
   - none.
</PRE>
</BODY>
</HTML>
Comment 1 _ potingwu 2008-02-22 20:26:11 UTC
Finally I found the location that has "Insert JSF Form"! Please specify where you found the issue when filing bug, thanks!

The "Insert JSF Form" dialog is only for the unit test, org.netbeans.test.jsf.JsfFunctionalTest.testJSFPalette()! Do we
need to implement full A11Y function for unit test?
Comment 2 _ potingwu 2008-02-25 17:43:58 UTC
The components "JSF Form" and "JSF Data Table" are not in the build anymore. They should be removed from the unit test.

BTW, this is not a valid bug because I don't think the unit test needs to cover the A11y here.
Comment 3 Jiri Skrivanek 2008-02-26 07:31:49 UTC
Of course this is an accessibility issue in your code, not in test. I can see both "JSF Form" and "JSF Data Table" in
recent build. To see the 'Insert JSF Form' dialog do the following:

- add Glassfish server to IDE
- open New Project Wizard
- choose Web|Web Application
- click Next, click Next, click Next
- choose JavaServer Faces
- click Finish
- in the Palette expand JSF category
- double click 'JSF Form' item and the 'Insert JSF Form' dialog will appear

Product Version: NetBeans IDE Dev (Build 20080226043943)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Comment 4 _ potingwu 2008-02-26 17:51:16 UTC
OK, I see them, they were hidden before and reactivate recently for "JSF pages from Entity Classes".

As I did more investigate, all dialogs from the Palette (I checked JSP, Database, and JSF) do not have Accessible
description. They all use the same code!

I don't think they are as important as P2. P3 should be enough.
Comment 5 Matthew Bohm 2008-02-27 15:38:28 UTC
If I re-enabled this dialog I did so inadvertently. I am not working on it, and it is not functional, so it needs
somehow to be hidden again.
Comment 6 _ potingwu 2008-03-11 18:12:14 UTC
> As I did more investigate, all dialogs from the Palette (I checked JSP, Database, and JSF) do not have Accessible
description. They all use the same code!

I searched lots of NetBeans' codes and didn't find "setAccessibleDescription to DialogDescriptor" example! romanmostyka,
did you see lots of dialogs do not have this accessible description as well especially from the Palette?

Taking over this A11Y bug from Matt.
Comment 7 Roman Mostyka 2008-03-11 19:20:13 UTC
No, I didn't see a lot of dialogs do not have this accessible description as well. But I didn't do accessibility testing
for all dialogs, I did only for some and filed issue accordingly
http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html.
Comment 8 _ potingwu 2008-03-11 19:31:43 UTC
Have you checked 'JSP' and 'Database' items from the Palette as well? They have the same codes and I believe they have
the same A11Y issues.
Comment 9 Roman Mostyka 2008-03-11 19:46:43 UTC
No, I haven't.
Comment 10 _ potingwu 2008-03-11 19:53:45 UTC
Thanks, that's what I need to confirm! Could you please check those dialogs, maybe just 2 or 3? Thanks again!
Comment 11 Roman Mostyka 2008-03-12 18:26:48 UTC
I checked all dialogs from "JSP" and "Database" sections and they all don't have accessible description for class
org.netbeans.core.windows.services.NbDialog.
Some of them has also other A11Y issues, if you need I can file issues for them.
Comment 12 _ potingwu 2008-03-12 18:33:28 UTC
That should be a good idea! As I known, "JSP" items are coming from web/core, not sure where the "Database" items are
coming from.

BTW, I just fixed this issue in the 6.1 trunk:

changeset b1358ea59cb9 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=b1358ea59cb9
Comment 13 Roman Mostyka 2008-03-13 09:31:51 UTC
Verified with build 080312.