Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7DR#3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:n/a
-
ICEsoft Forum Reference:
-
Support Case References:
Description
For Section 508 compliance, the menuBar component should support a mechanism to display child menus using the keyboard alone.
All onmouseover event handlers in the menu could also use the onfocus event handler. If possible we should wire the MenuBar to use onfocus handler as well as the onmouseover handler.
If the user tabs through the page and focusses on a top-level menu-item, it should display it's child menu then (if it's not already displayed). The same applies for any other child menus, onfocus on the menuitem should display an associated child menu if it isn't already displayed.
You should look at this in conjunction withICE-1232 as they are likely to inter-relate.
All onmouseover event handlers in the menu could also use the onfocus event handler. If possible we should wire the MenuBar to use onfocus handler as well as the onmouseover handler.
If the user tabs through the page and focusses on a top-level menu-item, it should display it's child menu then (if it's not already displayed). The same applies for any other child menus, onfocus on the menuitem should display an associated child menu if it isn't already displayed.
You should look at this in conjunction with
Activity
Philip Breau
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | Section 508: All onmouseover event handlers have an associated onfocus event handler for the MenuBar | Keyboard support for the MenuBar |
Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
Philip Breau
made changes -
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4372 |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] | |
Assignee | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Fix Version/s | 1.7DR#3 [ 10112 ] | |
Fix Version/s | 1.7 [ 10080 ] | |
Assignee Priority | P1 |
Ken Fyten
made changes -
Assignee | Mark Collette [ mark.collette ] | Adnan Durrani [ adnan.durrani ] |
Ken Fyten
made changes -
Summary | Keyboard support for the MenuBar | Keyboard support for displaying child menus in menuBar |
Description | For Section 508 compliance, all onmouseover event handlers should also use the onfocus event handler. If possible we should wire the MenuBar to use onfocus handler as well as the onmouseover handler. |
For Section 508 compliance, the menuBar component should support a mechanism to display child menus using the keyboard alone. All onmouseover event handlers in the menu could also use the onfocus event handler. If possible we should wire the MenuBar to use onfocus handler as well as the onmouseover handler. If the user tabs through the page and focusses on a top-level menu-item, it should display it's child menu then (if it's not already displayed). The same applies for any other child menus, onfocus on the menuitem should display an associated child menu if it isn't already displayed. You should look at this in conjunction with |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15419 | Tue Dec 18 13:48:38 MST 2007 | adnan.durrani | Fix for |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java
MODIFY /icefaces/trunk/icefaces/bridge/component/menu.js |
Adnan Durrani
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Adnan Durrani
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Jacky Lee
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] | |
Fix Version/s | 1.7DR#3 [ 10112 ] | |
Affects Version/s | 1.7DR#3 [ 10112 ] | |
Affects Version/s | 1.7DR#2 [ 10110 ] |
Adnan Durrani
made changes -
Status | Reopened [ 4 ] | In Progress [ 3 ] |
Adnan Durrani
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Won't Fix [ 2 ] |
Ken Fyten
made changes -
Resolution | Won't Fix [ 2 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Assignee Priority | P1 |
Ken Fyten
made changes -
Assignee Priority | P3 |
Ken Fyten
made changes -
Assignee Priority | P3 | P2 |
Ken Fyten
made changes -
Fix Version/s | 1.7Beta1 [ 10121 ] | |
Fix Version/s | 1.7 [ 10080 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #15719 | Tue Feb 05 13:05:35 MST 2008 | adnan.durrani | Fix for the second issue of |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/bridge/lib/extras/keyboardNavigator.js
MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/menubar/MenuBarRenderer.java MODIFY /icefaces/trunk/icefaces/bridge/build.xml |
Adnan Durrani
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Jacky Lee
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Jacky Lee
made changes -
Attachment | ICE-2458.war [ 10837 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] | |
Fix Version/s | 1.7Beta1 [ 10121 ] |
Adnan Durrani
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7RC1 [ 10123 ] | |
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Fix Version/s | 1.7 [ 10080 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 | |
Assignee | Adnan Durrani [ adnan.durrani ] |
suggested fix:
Index: D:/Documents and Settings/pbreau/workspace/ICEfaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java
===================================================================
— D:/Documents and Settings/pbreau/workspace/ICEfaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java (revision 15311)
+++ D:/Documents and Settings/pbreau/workspace/ICEfaces/component/src/com/icesoft/faces/component/menubar/MenuItemRenderer.java (working copy)
@@ -167,11 +167,12 @@
String qualifiedName = ((MenuItem) uiComponent).
getUserDefinedStyleClass(menuComponent.getItemStyleClass(),
rootItemSubClass);
+ String focusEvent = HTML.ONFOCUS_ATTR;
if (uiComponent.getChildCount() > 0)
else
{ topLevelDiv.setAttribute(HTML.CLASS_ATTR, CoreUtils.addPortletStyleClassToQualifiedClass( qualifiedName, rootItemSubClass, PORTLET_CSS_DEFAULT.PORTLET_MENU_ITEM)); topLevelDiv.setAttribute(HTML.ONMOUSEOVER_ATTR, "Ice.Menu.hideOrphanedMenusNotRelatedTo(this);Ice.Menu.appendHoverClasses(this);"); + topLevelDiv.setAttribute(focusEvent, + "Ice.Menu.hideOrphanedMenusNotRelatedTo(this);Ice.Menu.appendHoverClasses(this);"); + }topLevelDiv.setAttribute(HTML.ONMOUSEOUT_ATTR, "Ice.Menu.removeHoverClasses(this);");
+ topLevelDiv.setAttribute(HTML.ONBLUR_ATTR, "Ice.Menu.removeHoverClasses(this);");
String title = ((MenuItem) uiComponent).getTitle();
if(title != null && title.length() > 0)
topLevelDiv.setAttribute(HTML.TITLE_ATTR, title);