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.
Summary: | a11y: each modeling palette element should have a shortcut key associated with it | ||
---|---|---|---|
Product: | uml | Reporter: | bugbridge <bugbridge> |
Component: | General Diagram | Assignee: | Thuy.d Nguyen <thuydn> |
Status: | VERIFIED WONTFIX | ||
Severity: | blocker | CC: | mbudris, petersl |
Priority: | P1 | Keywords: | A11Y |
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
bugbridge
2006-06-19 22:05:24 UTC
I do not know if we should provide a shortcut for every item on the palette. For one reason the Form Editor does not seem to add short cuts for the items on the palette (well at least it does not show up on the tooltip). The second problem is the number of model elements. We would quickly run out of short cut key combinations. I think that we should instead have a short cut to activate the palette view. Once the palette view is active the user should be able to use the up and down arrows to select the palette entry. Once the palette entry is selected, I do not know how to allow the user to drop the model element on the diagram. However we decide to allow the user to drop the model element on the diagram, I believe that the UML diagram, Form Editor, and BPEL editor should all use the same mechanism. This definetely is a generic issue. Keyboard manipulatin with the palette is described here: http://ui.netbeans.org/docs/ui/palette/index.html#keyboard The only issue is that keyboard manipulation is not fully functional if implementors don't implement the enter/double click gesture in the palette. According to the spec, on double click an element is supposed to be placed on "default" location. However, none of the editor/palette implementors have implemented this yet (as it is problematic what is the "default" location). If this is a11y issue, it should not be filled only for UML but for all editors or it should be filled on a NetBeans module as identifying "default" location needs a shared rule or approach. OTH, it should be a requirement for palette/editor implementors to implement the other two gestures ("drag and drop" and "pick and drop"), as described here: http://ui.netbeans.org/docs/ui/palette/index.html#mouse to tspiva: you are right - providing shortcut for each element is not the best approach and at least not realistic. But currently, after element is selected in palette, there is no way to put it on diagram.... Or we don't know about it. There is a standard way to put element from palette without drag-n-drop. double-click for mouse or Enter key pressed after element is selected in palette. examples are: - in Web Application element will be placed in editor under cursor. - in Rave (Web pack) element will be placed into free top-left point of the editor. It's enough to add an ability to put element on diagram and fix issue 78311 to make it possible to create diagram elements without mouse. And specific case is adding links. May be it should be filed as separate issue? Now we have shortcuts for some links. User should select two elements and use shortcut to connect them with link ( see also issue 83473 ). Should we use default double-click on link in palette (or Enter) only for preliminary selected elements? see also related issue: 83633 Workaround: To create non-edge elements: 1. Press Ctrl-Shift-8 to navigate to UML palette (existing feature) 2. Press TAB to get to the 1st. element on the palette (existing feature) 3. Press Up or Down arrow to traverse thru the elements on the palette in either direction. (existing feature) 4. Press Ctrl-Enter to select an element and place it at the center of a current diagram editor. To create edge elements: 1. Use the sequence of keystrokes described below for selecting multiple non-edge elements to select two random elements on a diagram editor. 2. Press Ctrl-Shift-8 to navigate to UML palette (existing feature) 3. Press TAB to get to the 1st. element on the palette (existing feature) 4. Press Up or Down arrow to traverse thru the elements on the palette in either direction. (existing feature) 5. Press Ctrl-Enter to select an edge and place it on the diagram editor connecting the 2 selected elements To select multiple non-edge elements: 1. Press Tab or Shift-Tab to the desired node on diagram editor 2 . Press Ctrl Shift + to lock the selection of the node or Ctrl Shift - to unlock its selection. 3. Repeat step 1 and 2 above to select/deselect next nodes. A new accessibility feature has been implemented in Coco to create every elements on the palette using the same sequence of key strokes (as described by petersl). Thus, there's no need to provide a shortcut for each element on the modeling palette. Closing the bug as WONFIX. ok, to have standard way |