Unplanned
Last Updated: 14 Jan 2025 09:05 by ADMIN
Craig
Created on: 02 Jan 2025 14:10
Category: DataGrid
Type: Bug Report
13
DataGrid: Cannot tab to Unfocus the control when reaching the last cell
You can tab into the datagrid, but can't tab out of the data grid (focus trap)
2 comments
ADMIN
Didi
Posted on: 14 Jan 2025 09:05

Hi Craig,

This bug report is for the tab key. The information you shared is for a new feature request -> DataGrid: Extend the functionality of the current keyboard navigation keys. Could you please open a new feature request and add the information there. Share what is missing from the keyboard keys.

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Craig
Posted on: 13 Jan 2025 18:02

Keyboard Accessibility Evaluation Checklist

 Control Name:

Link: [Link to the specific Telerik Control Documentation Page]

Link: (optional) https://learn.microsoft.com/en-us/windows/communitytoolkit/controls/datagrid_guidance/keyboard_navigation_selection

 Keyboard Accessibility Evaluation

 Focus Management:

Yes, but currently cannon exit control. (Focus Trap) Can the control receive focus using the Tab key?
Yes Is the focus indicator clearly visible?
No Does the focus indicator use a property in addition to color?

 

Tab Navigation:

Yes Can the user tab into the control?
No Can the user tab out of the control without being trapped?
Yes Does Shift+Tab navigate in reverse order correctly?

 

Requested Keyboard Input Actions (need these on Windows and MacCatalyst):

Key Action
Down arrow Moves the focus to the cell directly below the current cell. If the focus is in the last row, pressing the DOWN ARROW does nothing.
Up arrow Moves the focus to the cell directly above the current cell. If the focus is in the first row, pressing the UP ARROW does nothing.
Left arrow Moves the focus to the previous cell in the row. If the focus is in the first cell in the row, pressing the LEFT ARROW does nothing. If the focus is on a row group header, pressing the LEFT ARROW collapses the group.
Right arrow Moves the focus to the next cell in the row. If the focus is in the last cell in the row, pressing the RIGHT ARROW does nothing. If the focus is on a row group header, pressing the RIGHT ARROW expands the group.
Home Moves the focus to the first cell in the current row.
End Moves the focus to the last cell in the current row.
Page down Scrolls the control downward by the number of rows that are displayed. Moves the focus to the last displayed row without changing columns. If the last row is only partially displayed, scrolls the grid to fully display the last row.
Page up Scrolls the control upward by the number of rows that are displayed. Moves focus to the first displayed row without changing columns. If the first row is only partially displayed, scrolls the grid to fully display the first row.
TabIf the current cell is in edit mode, moves the focus to the next cell in the current row. If the focus is already in the last cell of the row, commits any changes that were made and moves the focus to the first cell in the next row. If the focus is in the last cell in the control, moves the focus to the next control in the tab order of the parent container. If the current cell is not in edit mode, moves the focus to the next control in the tab order of the parent container.
Shift+tab If the current cell is in edit mode, moves the focus to the previous cell in the current row. If the focus is already in the first cell of the row, commits any changes that were made and moves the focus to the last cell in the previous row. If the focus is in the first cell in the control, moves the focus to the previous control in the tab order of the parent container. If the current cell is not in edit mode, moves the focus to the previous control in the tab order of the parent container.
Ctrl+down arrow Moves the focus to the last cell in the current column.
Ctrl+up arrow Moves the focus to the first cell in the current column.
Ctrl+right arrow Moves the focus to the last cell in the current row.
Ctrl+left arrow Moves the focus to the first cell in the current row.
Ctrl+home Moves the focus to the first cell in the control.
Ctrl+end Moves the focus to the last cell in the control.
Ctrl+page down Same as PAGE DOWN.
Ctrl+page up Same as PAGE UP.
F2 If the DataGrid.IsReadOnly property is false and the DataGridColumn.IsReadOnly property is false for the current column, puts the current cell into cell edit mode.
Enter Commits any changes to the current cell and row and moves the focus to the cell directly below the current cell. If the focus is in the last row, commits any changes without moving the focus.
Esc If the control is in edit mode, cancels the edit and reverts any changes that were made in the control. If the underlying data source implements IEditableObject, pressing ESC a second time cancels edit mode for the entire row.
Backspace Deletes the character before the cursor when editing a cell.
Delete Deletes the character after the cursor when editing a cell.
Ctrl+enter Commits any changes to the current cell without moving the focus.

 

Summary of Issues

  1. Keyboard navigation is incomplete
  2. Control is a focus trap, can’t get out of control with tab or shift tab.  See notes above