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 80156 - a11y: Accessibility issues for XML Schema editor
Summary: a11y: Accessibility issues for XML Schema editor
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Nathan Fiedler
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2006-07-13 12:53 UTC by Maksim Khramov
Modified: 2006-10-03 02:06 UTC (History)
1 user (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 Maksim Khramov 2006-07-13 12:53:40 UTC
Source/Schema/Design view Buttons has no mnemonics.

Schema breadcrumbs items has no mnemonics, Accessible description and not
reacheable with Tab traversal.

The Schema/Column view Radio buttons has no accessible name and mnemonics.
The Validate XML control is not a button at all (As a11y testing tool reports
its empty JToolbar сontrol) and it has no Accessible name and Mnemonics.

Entire editor controls has very poor visual feedback for user - we cannot see
which control is now focused and can be activated from keyboard.

Tab traversal for schema columns is very long. For example if opened 3 columns
of data it need 15 Tabs to traverse from first column to the same column.

User cannot invoke context menus in free area of columns so some of context menu
commands are not avaialable (Properties, Go To Source/Schema etc.)
Comment 1 Chris Webster 2006-07-13 17:05:09 UTC
Can you verify whether other multi-view editors such as the source view have
mneumonics (form editor)? The source/schema/design buttons are provided through
a framework.

When you say editor controls are you referring to the editor controls on the
source editor? These would be same buttons available for a xml instance
document. This is also provided by the netbeans source editor. 

We may need to split this bug into multiple parts as some of the answers to the
above questions may require fixing in other NetBeans modules. 
Comment 2 Maksim Khramov 2006-07-18 08:38:58 UTC
I check some other editors. None of them has mnemonics for Source/Schema
buttons, but we have special shortcuts for switching through different view
types (Alt-Shift-Right and Alt-Shift-Left).

Column/Tree View buttons are specific to XML Schema document and they has no
special shortcuts to access them from keyboard.

Comment 3 Chris Webster 2006-07-18 16:56:08 UTC
The issues raised here which should be addressed are:

1. Breadcrumbs are dynamic so it would not really be possible to use a
mneumonic. But they should be reachable via tab traversal, and each element
could have an accessible description (the path). 

2. All columns should allow context menus for their parent. 
Comment 4 Nathan Fiedler 2006-07-28 22:31:46 UTC
Fixed in release55 branch. The bread crumbs were already accessible, but because
the focus paiting was turned off, you couldn't see what was happening. I have
restored the focus painting and added accessible names and descriptions.

schema/schemaui/src/org/netbeans/modules/xml/schema/ui/basic/SchemaColumn.java;
new revision: 1.1.2.22; previous revision: 1.1.2.21
wsdlui/src/org/netbeans/modules/xml/wsdl/ui/netbeans/module/WSDLColumn.java;
new revision: 1.1.2.6; previous revision: 1.1.2.5
xamui/src/org/netbeans/modules/xml/xam/ui/column/Column.java;
new revision: 1.1.2.3; previous revision: 1.1.2.2
xamui/src/org/netbeans/modules/xml/xam/ui/column/LinkButton.java;
new revision: 1.1.2.3; previous revision: 1.1.2.2
xamui/src/org/netbeans/modules/xml/xam/ui/column/LinkPanel.java;
new revision: 1.1.2.3; previous revision: 1.1.2.2
Comment 5 Maksim Khramov 2006-09-22 13:27:19 UTC
What should clicking on breadcrumb with keyboard do? Actually if I traverce to
the last breadcrumb with keyboard and press enter, the column view scrolls to
the last column, but focus is still in breadcrumb. If after that I click tab
again the focus switch to the next element and scrolls to it.(the next element
after breadcrumbs is the first column of view).  So I cannot fast access column
that I need.
Comment 6 Maksim Khramov 2006-09-28 12:47:27 UTC
Verified in build 060925