Accessibility in Blazor Pivot Table

15 Aug 202624 minutes to read

The pivot table component follows accessibility guidelines, including ADA, Section 508, WCAG 2.2, and WAI-ARIA roles that are commonly used to evaluate accessibility.

The accessibility compliance for the pivot table component is outlined below.

Accessibility Criteria Compatibility
WCAG 2.2 Support AA
Section 508 Support Intermediate
Screen Reader Support Yes
Right-To-Left Support Yes
Color Contrast Yes
Mobile Device Support Yes
Keyboard Navigation Support Intermediate
Axe-core Accessibility Validation Intermediate
Yes - All features of the component meet the requirement.
Intermediate - Some features of the component do not meet the requirement.
No - The component does not meet the requirement.

WAI-ARIA attributes

WAI-ARIA (Accessibility Initiative – Accessible Rich Internet Applications) defines a way to increase the accessibility of web applications and user interface components. ARIA provides additional semantics to describe the role, state, and functionality of web content. The following ARIA attributes are used in the pivot table component:

Attributes Purpose
role=grid Attribute added to identify the grid component element within the pivot table element.
role=region Attribute added to identify the chart component element within the pivot table element. The region must have an accessible name (for example, via aria-label) to be exposed as a landmark.
role=button Indicates a clickable element. This attribute is added to the pager navigation buttons as well as the buttons in the dialog popup such as field list, calculated field, member editor, conditional formatting of pivot table component.
role=table Indicates a table-like structure. This attribute is added to each conditional formatting style container element to denote it as a table.
role=tableItems This attribute is added to the container element that appears inside the number formatting popup to indicate it as a table.
role=rowgroup Indicates a group of rows. This attribute is added to the container element that appears inside the number formatting popup to indicate it as a row group.
aria-disabled The buttons within the dialog popups, such as field list, calculated field and member editor, are disabled based on their usability. To indicate the disabled state, this attribute is added with the value true. By default, the attribute value is set to false.
aria-label This attribute is added to label elements that are placed inside the pager, member editor popup, and calculated field popup to identify them as label elements.
aria-selected This attribute is added to the selected treeview item in the calculated field popup with the value as true to denote that it is a selected element.
aria-colspan This attribute is added to the th elements in the e-table, which represent the column span value.
aria-rowspan This attribute is added to the th elements in the e-table, which represent the row span value.
data-type This attribute is added to the treeview item in the calculated field popup, as well as the buttons in the grouping bar and field list. It represents the aggregate type for the specified field.
data-caption This attribute is added to the treeview item in the calculated field popup, as well as the buttons in the grouping bar and field list. It represents the caption for the specified field.
data-basefield This attribute is added to the treeview item in the calculated field popup, as well as the buttons in the grouping bar and field list. It denotes the base field for the specified field, which is used to display the values for aggregation types such as DifferenceFrom, PercentageOfDifferenceFrom, and PercentageOfParentTotal.
data-baseitem This attribute is added to the treeview item in the calculated field popup, as well as the buttons in the grouping bar and field list. It denotes the base item for the specified field, which is used to display the values for aggregation types such as DifferenceFrom, PercentageOfDifferenceFrom, and PercentageOfParentTotal.
data-field This attribute is added to the treeview item in the calculated field popup. It denotes the name of the specified field.
data-membertype This attribute is added to the treeview item in the calculated field popup. It denotes the member type of the selected OLAP calculated field.
data-hierarchy This attribute is added to the treeview item in the calculated field popup. It denotes the parent hierarchy unique name of the selected OLAP calculated field.
data-formula This attribute is added to the treeview item in the calculated field popup. It denotes the formula used for the specified calculated field.
data-formatString This attribute is added to the treeview item in the calculated field popup. It denotes the format string used for the specified calculated field.
data-customformatstring This attribute is added to the treeview item in the calculated field popup. It denotes the custom format string used for the specified calculated field.

The Syncfusion® Blazor Pivot Table internally uses the Syncfusion Grid component, which follows a two‑table structure for header and content rendering. This improves screen reader interpretation but may trigger warnings in automated accessibility tools. These issues occur due to the underlying grid rendering. These warnings do not necessarily affect actual assistive-technology usability. The following categories of warnings have been observed in axe-core and accessibility-checker reports:

  • aria-required-children (axe-core): Triggered when the grid renders certain feature elements (for example, textarea or toolbar content). It may be reported when toolbar or grouping features are enabled.

  • color-contrast (axe-core): Triggered when the toolbar search item or custom styles reduce text contrast below WCAG thresholds.

  • Explicit ARIA ‘role’ on <tr>, <th>, and <td> inside role="grid" (accessibility-checker): Per the ARIA in HTML specification, these native elements should not carry an explicit ARIA role when nested inside role="grid".

  • button with descendant rowgroup (accessibility-checker): An element with role="button" should not contain descendants with role="rowgroup"; the role is ignored by browsers.

  • Content not within a landmark element (axe-core): Major page regions should be wrapped in landmark roles (for example, region with an accessible name).

  • Multiple elements with role="search" without unique labels (axe-core): Each search landmark must have a unique accessible name.

  • Interactive component with role="grid" missing an accessible name (axe-core): The grid must have a programmatically associated name (for example, via aria-label or aria-labelledby).

  • rowgroup not contained in a grid, table, or treegrid (accessibility-checker): A rowgroup must be owned by an element with one of these parent roles.

Keyboard interaction

The pivot table component follows the keyboard interaction guideline, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the pivot table component.

Pivot Table

Prerequisites: Cell-selection shortcuts (Ctrl + A, Esc, Shift + Arrow) require AllowSelection to be enabled. Drill-through requires AllowDrillThrough to be enabled. Hyperlink activation requires PivotViewHyperlinkSettings to be configured. The context-menu shortcut requires the context menu to be enabled. By default, the WAI-ARIA grid pattern uses Tab to leave the grid and arrow keys for in-grid navigation; the Syncfusion Pivot Table extends this behavior so Tab and Shift + Tab also move between cells when no cells are focused.

Windows Mac Actions
Tab Tab Moves the cell focus right side. If no cells are focused, it moves to the next active element in the browser page.
Shift + Tab + Tab Moves the cell focus left side. If no cells are focused, it moves to the previous active element in the browser page.
Moves the cell focus downwards. If the selection is enabled in the pivot table, then it will move downwards to select next row or column or individual cell.
Moves the cell focus upwards. If the selection is enabled in the pivot table, then it will move upwards to select previous row or column or individual cell.
Moves the cell focus left side. If the selection is enabled in the pivot table, then it will move left side to select previous row or column or individual cell.
Moves the cell focus right side. If the selection is enabled in the pivot table, then it will move right side to select next row or column or individual cell.
Shift + + Extends the cell selection downwards.
Shift + + Extends the cell selection selection upwards.
Shift + + Extends the cell selection to the left side.
Shift + + Extends the cell selection to the right side.
Ctrl + A + A Selects all cells.
Esc Esc Deselects all cells. If the current active element is a context menu, then the context menu popup will be closed.
Home Home Goes to the first cell in the current row.
End End Goes to the last cell in the current row.
Ctrl + Home + Home Goes to the first cell in the table.
Ctrl + End + End Goes to the last cell in the table.
Enter Enter If the current cell is an expand/collapse cell, it performs expand/collapse operation (drill operation). If the current row/column header is in value sort state, it performs value sorting. If the current cell is in selection state, it moves to the next row, column or individual cell. If drill-through or editing is enabled in the pivot table, the drill-through dialog will be opened based on the selected value cell. If the current active element is a context menu popup, menu selection will be performed.
Shift + Enter + Enter If value sorting is enabled in the pivot table and the current cell is a header with respect to its value axis, it performs value sorting to either ascending or descending order. If the current cell is in selection state, it moves to the previous row, column or individual cell.
Ctrl + Enter + Enter If hyperlink is enabled in the current cell, it performs hyperlink selection.
Shift + F10 or Menu + F10 If context menu is enabled in the pivot table, the context menu popup will be opened in the current cell.

Field List

Prerequisites: The shortcuts Shift + F, Shift + S, and Shift + E only take effect when the relevant icon (filter, sort, or edit) is visible on the active field’s button. The Delete shortcut removes a field from the report; it does not delete the underlying data.

Windows Mac Actions
Shift + Ctrl + F + + F If the popup field list is enabled in either the pivot table or the pivot chart, the field list dialog will be opened.
Tab Tab Moves to the next active element in the field list. If no active elements are present, it moves to the next active element in the browser page.
Shift + Tab + Tab Moves to the previous active element in the field list. If no active elements are present, it moves to the previous active element in the browser page.
Shift + F + F If the current active element is a field’s button and if it has a filter icon, the filter dialog will open to perform filtering.
Shift + S + S If the current active element is a field’s button and if it has a sort icon, the sorting will be performed to the selected field.
Shift + E + E If the current active element is a calculated field’s button and if it has an edit icon, the calculated field dialog will be opened to edit the selected calculated field.
Enter Enter Performs the selection operation of the current active element. If the current active element is a field’s button and it has a dropdown icon, the aggregation menu will open to perform calculations using aggregation options to the selected value field.
Delete Delete If the current active element is a field’s button, the selected field will be removed from the current report.
If the current active element is a tree node, it moves to the next node.
If the current active element is a tree node, it moves to the previous node.
If the current active element is a tree node, it collapses the current node.
If the current active element is a tree node, it expands the current node.
Home Home If the current active element is a tree node, it goes to the first node.
End End If the current active element is a tree node, it goes to the last node.
Space Space If the current active element is a tree node or a checkbox element, it will be either checked or unchecked.
Esc or Escape Escape Closes the popup field list dialog.

Grouping Bar

Prerequisites: The shortcuts Shift + F, Shift + S, and Shift + E only take effect when the relevant icon (filter, sort, or edit) is visible on the active field’s button. Arrow-key navigation inside a dropdown list only applies when the active element is an open dropdown.

Windows Mac Actions
Tab Tab Moves to the next active element (field’s button) in the grouping bar. If no active elements are present, it moves to the next active element in the browser page.
Shift + Tab + Tab Moves to the previous active element (field’s button) in the grouping bar. If no active elements are present, it moves to the previous active element in the browser page.
Shift + F + F If the current active element is a field’s button and if it has a filter icon, the filter dialog will be opened to perform filtering.
Shift + S + S If the current active element is a field’s button and if it has a sort icon, the sorting will be performed to the selected field.
Shift + E + E If the current active element is a calculated field’s button and if it has an edit icon, the calculated field dialog will be opened to perform editing the selected calculated field.
Enter Enter Performs the selection operation of the current active element. If the current active element is a field’s button and if it has a dropdown icon, the aggregation menu will be opened to perform calculations using aggregation options to the selected value field.
Delete Delete If the current active element is a field’s button, the selected field will be removed from the current report.
If the current active element is a dropdown list, the next item will be selected.
If the current active element is a dropdown list, the previous item will be selected.
Home Home If the current active element is a dropdown list, the first item will be selected.
End End If the current active element is a dropdown list, the last item will be selected.
Alt + + If the current active element is a dropdown list, the popup will be opened.
Alt + + If the current active element is a dropdown list, the popup will be closed.
Esc or Escape Escape Closes the dropdown list.

Filter Dialog

Windows Mac Actions
Shift + F + F If the current active element is a field’s button and if it has a filter icon in either the field list or grouping bar UI, the filter dialog will be opened to perform filtering.
Tab Tab Moves to the next active element in the filter dialog. If no active elements present, it moves to the next active element in the browser page.
Shift + Tab + Tab Moves to the previous active element in the filter dialog. If no active elements present, it moves to the previous active element in the browser page.
If the current active element is a tree node, it moves to the next node.
If the current active element is a tree node, it moves to the previous node.
If the current active element is a tree node, it collapses the current node. If the current active element is a tab, it moves focus to the previous tab element.
If the current active element is a tree node, it expands the current node. If the current active element is a tab, it moves focus to the next tab element.
Home Home If the current active element is a tree node, it goes to the first node.
End End If the current active element is a tree node, it goes to the last node.
Space Space If the current active element is a tree node or a checkbox element, it will be either checked or unchecked.
Alt + + If the current active element is a DropDownList or DatePicker or DateTimePicker, the popup will be opened.
Alt + + If the current active element is a DropDownList or DatePicker or DateTimePicker, the popup will be closed.
Enter Enter Performs the selection operation of the current active element. If the current active element is a tab, the current tab element will be selected. If the current active element is a tree node, the current node will be either checked or unchecked. If the current active element is DropDownList, the focus item will be selected, and the popup list will close when it is open. Otherwise, toggles the popup list.
Esc or Escape Escape Closes the filter dialog.

Calculated Field Dialog

Windows Mac Actions
Shift + E + E If the current active element is a field’s button and if it has an edit icon in either the field list or grouping bar UI, the calculated field dialog will be opened to perform editing the selected calculated field.
Tab Tab Moves to the next active element in the calculated field dialog. If no active elements present, it moves to the next active element in the browser page.
Shift + Tab + Tab Moves to the previous active element in the calculated field dialog. If no active elements present, it moves to the previous active element in the browser page.
If the current active element is a tree node, it moves to the next node.
If the current active element is a tree node, it moves to the previous node.
If the current active element is a tree node, it collapses the current node.
If the current active element is a tree node, it expands the current node. If the current active element is a tree node and has a menu icon, the aggregation menu will be opened to select appropriate aggregation type to the selected field.
Home Home If the current active element is a tree node, it goes to the first node.
End End If the current active element is a tree node, it goes to the last node.
Enter Enter Performs the selection operation of the current active element. If the current active element is a tree node, it copies the selected field name/formula to the formula text area to perform calculations.
Esc or Escape Escape Closes the calculated field dialog.

Formatting Dialog

Windows Mac Actions
Tab Tab Moves to the next active element in the formatting dialog. If no active elements present, it moves to the next active element in the browser page.
Shift + Tab + Tab Moves to the previous active element in the formatting dialog. If no active elements present, it moves to the previous active element in the browser page.
If the current active element is a DropDownList, the next item will be selected.
If the current active element is a DropDownList, the previous item will be selected.
Home Home If the current active element is a DropDownList, the first item will be selected.
End End If the current active element is a DropDownList, the last item will be selected.
Alt + + If the current active element is a DropDownList or ColorPicker, the popup will be opened.
Alt + + If the current active element is a DropDownList or ColorPicker, the popup will be closed.
Enter Enter Performs the selection operation of the current active element.
Esc or Escape Escape Closes the formatting dialog.

Toolbar

Windows Mac Actions
Tab Tab Moves to the next active option in the toolbar. If no active elements present, it moves to the next active element in the browser page.
Shift + Tab + Tab Moves to the previous active option in the toolbar. If no active elements present, it moves to the previous active element in the browser page.
Enter Enter Performs the selection operation of the current active element.

Drill-Through Dialog

Windows Mac Actions
Tab Tab Moves to the next active element in the drill-through dialog. If the current active element is a Grid cell, it moves the cell focus to right side. If no active elements present, then it moves to the next active element in the browser page.
Shift + Tab + Tab Moves to the previous active element in the drill-through dialog. If the current active element is a Grid cell, it moves the cell focus to left side. If no active elements present, then it moves to the previous active element in the browser page.
Moves the row/cell focus downwards.
Moves the row/cell focus upwards.
Moves the cell focus left side.
Moves the cell focus right side.
Home Home Goes to the first cell in the current row.
End End Goes to the last cell in the current row.
Ctrl + Home + Home Goes to the first cell in the table.
Ctrl + End + End Goes to the last cell in the table.
Enter Enter Performs the selection operation of the current active element.
Esc or Escape Escape If the cell is in selected state, then it deselects all rows/cells. If the row/cell is in edit state, it cancels the current entries in the row/cell. If the current active element is not a row/cell, it closes the drill-through dialog.
F2 F2 Initiate editing a row/cell in the data grid.
Insert Insert Adds a new row/cell in the data grid.
Delete Delete Removes the selected row in the data grid.

Common keyboard combinations for dialogs

The following shortcuts apply to all Pivot Table dialogs (filter, calculated field, formatting, drill-through, and so on).

Windows Mac Actions
Tab Tab Moves to the next active element in the dialog. If either no active elements present in the dialog or an overlay is not present in the dialog, it moves to the next active element in the browser page.
Shift + Tab + Tab Moves to the previous active element in the dialog. If either no active elements present in the dialog or an overlay is not present in the dialog, it moves to the previous active element in the browser page.
Space Space If the current active element is a tree node or a checkbox element, it will be either checked or unchecked.
Enter Enter When the Dialog button or any input (except text area) is in focus state, when pressing the Enter key, the click event associated with the primary button or button will be triggered. The Enter key will not be worked, when the dialog content contains any text area with initial focus.
Esc or Escape Escape Closes the dialog.

Ensuring accessibility

The pivot table component’s accessibility levels are ensured through an axe-core with playwright tests.

The accessibility compliance of the pivot table component is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the pivot table component with accessibility tools.

See also