Test Cases for Keyboard Navigation



Sample Instances

Keynav broken -




The Test Cases:


Test Case No

Test Case


General

Key_001

Ensure that a logical Keyboard Navigation order is followed. When navigating around a window using Tab key, the keyboard focus should move between controls in a predictable order (from left to right and top to bottom).

Key_002

Pressing Ctrl+F1 should enter Keyboard Tooltips mode. Pressing Ctrl+F1 or Esc again should exit the keyboard tooltip mode. Tooltip should appear near its control.

Key_003

Pressing Enter should activate the default window action.

Key_004

Pressing Esc should close a secondary window that has Cancel or Close buttons, or in menus or other popup windows that have no explicit close controls to click on.

Key_005

Pressing Ctrl+W should close a top level window (those with a menubar) with file close.

Key_006

Pressing Ctrl+Q should close a top level window (those with a menubar) with file quit.

Key_007

Pressing Ctrl+Shift+Q should close a terminal.

Key_008

Tab/Shift+Tab should move to the next/previous object or control in all components of the GNOME desktop.

Key_009

User should be able to navigate within objects or controls of the components of GNOME desktop using the arrow keys.

Key_010

Spacebar should activate/select the current object or control in the components of GNOME desktop

Key_011

From anywhere on the desktop, the user should be able to get to any GNOME application through the following key sequences :

  • Alt+F1 - should open the GNOME Menu from which any GNOME application can be selected. This is a customisable shortcut.

  • Alt+F2 - should start the Run Program from which any GNOME application can be selected. This is a customisable shortcut.


Keyboard Focus

Key_012

Check if the current input position is clearly displayed at all times. In controls that include a scrolling element, it is not always sufficient to highlight just the selected element inside that scrolling area, as it may not always be visible. It is required to give focus to the control area also.

Key_013

Check if the input focus is shown in exactly one window at all times. If a single window has separate panes, only one pane should have the focus indicator, and focus indicators should be hidden in all the other panes. If it's important to continue showing which item in an unfocused list is selected, for example, use a secondary focus indicator.

Key_014

Verify that when moving among objects, the visual focus indicator is easy to identify. Using only the keyboard, navigate through the software, especially menus, dialogs, forms and property boxes. Verify that the visual focus indicator is clearly visible and easy to identify when tab or arrow is used to move to the next object


Keyboard Navigation for Desktop Background

Key_015

Ctrl+Alt+d should hide all windows and focus the desktop background. Focus should be given to the desktop icon that most recently had focus. This sequence is a customisable shortcut.

Key_016

Ctrl+Alt+Tab should cycle between panels and the desktop. This sequence is a customisable shortcut.

Key_017

Pressing Tab should move to the next icon alphabetically.

Key_018

Pressing any letter or number should move to the first icon alphabetically which has the same initial character.

Key_019

F2 should be used to rename the desktop icon. Then type in the new name and press return.

Key_020

Pressing Shift+F10 should display the popup menu of the icon.

Key_021

Ctrl+F10 should display the background menu.


Keyboard Navigation for Panel

Key_022

Ctrl+Alt+Tab should cycle between the panels and desktop. While holding down Ctrl and Alt, use Tab to cycle through the panels which are highlighted in turn. Note that drawers, which are a form of panel, are included in the panel cycling. This sequence is a customisable shortcut.

Key_023

Ctrl+F10 should display the panel menu.

Key_024

Pressing Tab should move to the next panel object.

Key_025

Shift+F10 should display the panel object popup menu.

Key_026

Spacebar should start a launcher, open or close a drawer, open a menu or select an applet control.

Key_027

Spacebar should open the drawer, or close the drawer if already open.

Key_028

Arrow key should enter an open drawer.

Key_029

Pressing Esc should exit and close the drawer.

Key_030

Pressing Shift+Esc should exit and leave the drawer open

Key_031

Arrow keys should be used to enter and navigate a menu. If the menu is a part of a menubar (such as the Applications and Actions menubar) using the left arrow at the top level of one menu, should move to the previous menu in the menubar.

Key_032

Esc should exit and close the menu.

Key_033

Pressing Shift+F10 should open a menu item popup menu, if any.

Key_034

Spacebar should select a menu item.

Key_035

Pressing F10 should open the Applications Menu.

Key_036

Pressing Ctrl+F10 should cycle between the Applications Menu and Window List.

Key_037

Pressing Tab should navigate to an applet. The applet controls should be navigable with arrow keys.

Key_038

User should be able to move an object within a panel or drawer by following the below sequence :

  • use Shift + F10 to open the object popup menu

  • select Move

  • arrow keys - should move the object along the panel.

  • shift + arrow keys - should move the object along the panel, pushing other objects in front of it.

  • ctrl + arrow keys - should move the object along the panel, jumping over other objects in the way.

  • tab - should move the object to the next panel

  • spacebar - should exit the move mode


Keyboard Navigation for Workspaces and Windows

Key_039

Ctrl+Alt+Arrow keys should move to the next/previous workspaces.

Key_040

Alt+Tab should cycle between windows. This sequence is a customisable shortcut.

Key_041

Alt+Esc should cycle between windows. This sequence is a customisable shortcut.

Key_042

Alt+Spacebar should open the Window Menu.

Key_043

Alt+F4 should close the window.

Key_044

User should be able to move a focused window by following the below sequence :

  • open the Window Menu

  • select Move

  • arrow keys - should move the in the direction of the arrow key

  • Shift + Arrow keys - should move the window to align with the next window edge, panel edge or screen edge.

Key_045

User should be able to resize a focused window by following the below sequence :

  • open the Window Menu

  • select resize,

  • And use the Arrow Keys.


Keyboard Navigation for GNOME Application Menubar

Key_046

F10 should open the first menu in the application menubar.

Key_047

Alt+Access keys (letters which are underlined in menu titles) should open the associated menu in the menubar.

Key_048

Access keys (letters that are underlined in menu items) should select the associated menu item.

Key_049

Shortcut keys (which are shown to the right of the menu item) should perform the specified function.

Key_050

Esc key should unpost all the menus and return the focus to the last control that had it.


Keyboard Navigation for GNOME Application Menu

Key_051

Up/Down arrow keys should move focus to previous/next menu item.

Key_052

Pressing Right arrow key should move the focus to first item of submenu if focused item is a submenu. Otherwise focus should move to the next menu on menubar.

Key_053

Pressing Left arrow key should move the focus back to parent item if focused item is a submenu. Otherwise focus should move to the previous menu on menubar.

Key_054

Pressing Esc should unpost all menus and return focus to last control that had it.

Key_055

Pressing Return should activate focused menu item, close all menus and return focus to last control that had it.

Key_056

Pressing Spacebar should activate focused menu item, close all menus and return focus to last control that had it unless the focused menu item is a check box or radio button. In that case, the menu remains open to allow further selections to be made.


Keyboard Navigation for GNOME Application Dialog

Key_057

Tab should move focus to the next control in the dialog.

Key_058

Alt+Access key (letters which are underlined in each control in the application dialog) should select/activate the corresponding control.

Key_059

Ctrl+PageUp/PageDn should enable navigation between tabbed sections in the dialog, if present.

Key_060

Return key should select the default window action.


Keyboard Navigation for Pushbutton

Key_061

Space bar should activate the focused button.

Key_062

Return key should activate the focused button.


Keyboard Navigation for Checkbox

Key_063

Spacebar should activate or deactivate the checkbox.


Keyboard Navigation for Radio Button

Key_064

Arrow keys should cycle the selection of the radio button.


Keyboard Navigation for Spin Box

Key_065

Home/End should move to the start/end of the entry field.

Key_066

Horizontal Arrow Keys should move forwards and backwards in the entry field

Key_067

Vertical arrow keys should increase or decrease the value by one.

Key_068

Page Up/Page Down should increase or decrease the value in specified steps.


Keyboard Navigation for Drop Down List

Key_069

Spacebar should open the list or, if the list is already open, select the currently focused list item and close the list

Key_070

Arrow keys should move up and down the list.

Key_071

Esc should close the list.


Keyboard Navigation for Combo Box

Key_072

Pressing Home/End should move to the start/end of the entry field.

Key_073

Horizontal arrow keys should move forward and backward in the entry field.


Keyboard Navigation for Tabbed Notebook Window

Key_074

When a tab label has focus, pressing Left/Right arrow should move focus to previous/next tab label, but shouldn't bring the tab to front.

Key_075

When a tab label has focus, pressing Spacebar should bring the focused tab to front.

Key_076

When a tab label has focus, pressing Tab or Ctrl+Down arrow should move focus to first control on front-most tab.

Key_077

When a control on a tab has focus, pressing Ctrl+PgUp/PgDn should bring previous/next tab to front

Key_078

When a control on tab has focus, pressing [Shift+] Ctrl+Tab should move focus to previous/next control outside the notebook control.


Keyboard Navigation for List (implemented by GtkTreeView)

Key_079

When column headers have focus:

a) Left/Right arrows should move focus to previous/next header.

b) Spacebar should sort the list.

c) Down arrow should move focus into list content area.

Key_080

When list has focus, Arrow keys should focus and select only next row/column

Key_081

When list has focus, PageUp/Down should focus and select only top/bottom row of view, then top/bottom row of previous/next view when pressed again.

Key_082

When list has focus, Home/End should focus and select only first/last item in list.

Key_083

When list has focus, Shift+Arrow keys should focus next row/column and that row to current selection (if list is multi-select; otherwise just focus and select that row)

Key_084

When list has focus, Shift+PageUp/Down should focus top/bottom row of view and select all rows in between.

Key_085

When list has focus, Shift+Home/End should focus first/last row of list and select all rows in between.

Key_086

When list has focus, Ctrl+Arrow keys should move focus to next row/column but shouldn't change selection.

Key_087

When list has focus, Ctrl+PageUp/Down should move focus to top/bottom row of view, but shouldn't change selection.

Key_088

When list has focus, Ctrl+Home/End should move focus to first/last item in list but shouldn't change selection.

Key_089

When list has focus, Ctrl+Spacebar should add focused row to existing selection, if list is multi-select, otherwise just select focused row.

Key_090

When list has focus, for textual items, Spacebar should edit name if available and for checkbox items should toggle checkbox.

Key_091

When list has focus, Return should perform the same action as double-clicking list item

Key_092

When list has focus, Ctrl+A should select all rows (if list is multi-select).

Key_093

When list has focus, Ctrl+F should pop up 'find' textbox into which the user can type a word to search for in the list; dismiss by pressing Esc.


Keyboard Navigation for TreeView

Key_094

All the above test cases for List.

Key_095

Plus(+) key should expand selected node (Shift required according to keyboard layout)

Key_096

Minus (-) key should collapse selected node (doesn't work on keypad).

Key_097

Backspace should select the currently selected node's parent node.


Keyboard Navigation for Slider

Key_098

Pressing Left or Down arrow key should decrease value by small amount. Note: both keys should work regardless of slider orientation.

Key_099

Pressing Right or Up arrow should increase value by small amount. Note: both keys should work regardless of slider orientation.

Key_100

Pressing PgUp/PgDn should increase/decrease value by larger amount.

Key_101

Pressing Home/End should set slider to minimum/maximum value.


Keyboard Navigation for Single Line Entry

Key_102

Left/right arrow should move cursor left/right one character.

Key_103

Ctrl+left arrow should move cursor to start of current word. Pressing Ctrl+left arrow again should move cursor to start of previous word.

Key_104

Ctrl+right arrow should move cursor to end of current word. Pressing Ctrl+right arrow again should move cursor to the end of next word.

Key_105

Pressing Home/End should move cursor to start/end of line

Key_106

Pressing Shift+left/right arrow should select character to left/right of cursor, adding it to the current selection.

Key_107

Shift+Ctrl+left arrow should select to the start of the current word. Pressing Shift+Ctrl+left arrow again should select to the start of the previous word.

Key_108

Shift+Ctrl+right arrow should select to the end of the current word. Pressing Shift+Ctrl+right arrow again should select to the end of the next word.

Key_109

Pressing Shift+Home/End should select to the start of line.

Key_110

Pressing Ctrl+A should select all text in buffer.


Keyboard Navigation for Multi Line Entry

Key_111

All the above test cases for single line entry.

Key_112

PgUp/Dn should move cursor up/down one page, scrolling the line the cursor is on to the top of the view.

Key_113

Ctrl+Up arrow should move the cursor to start of the current para. Pressing Ctrl+Up arrow again should move the cursor to start of previous para.

Key_114

Ctrl+Dn arrow should move the cursor to end of the current paragraph. Pressing Ctrl+Dn arrow again should move the cursor to end of next para.

Key_115

Ctrl+PgUp/PgDn should scroll view left/right by one view width.

Key_116

Ctrl+Tab should move focus out of text field to next control.

Key_117

Ctrl+Home/End should move cursor to start/end of document.

Key_118

Shift+PgUp/Dn should select to start/end of current view. Pressing Shift+PgUp/Dn again should select to start/end of next page.

Key_119

Shift+Ctrl+Up arrow should select to the start of current paragraph. Pressing Ctrl+Up arrow again should select to the start of previous para.

Key_120

Shift+Ctrl+Down arrow should select to the end of current paragraph. Pressing Ctrl+Down arrow again should select to the end of the next para.

Key_121

Pressing Shift+Home/End should select to the start/end of the document.





Previous: Testing

Back: Contents

Next: Theme Compliance test cases