Accessibility in Blazor File Manager
The Blazor File Manager component has been designed with keeping the WAI-ARIA specifications in mind, and applied the WAI-ARIA roles, states, and properties along with keyboard support. This component is characterized by complete keyboard interaction support and ARIA accessibility support, which makes navigation easy for people who use assistive technologies (AT) or for users who completely rely on keyboard navigation.
The Blazor File Manager component followed the accessibility guidelines and standards, including ADA, Section 508, WCAG 2.2 standards, and WCAG roles that are commonly used to evaluate accessibility.
The accessibility compliance for the Blazor File Manager component is outlined below.
| Accessibility Criteria | Compatibility |
|---|---|
| WCAG 2.2 Support | AA |
| Section 508 Support | ![]() |
| Screen Reader Support | ![]() |
| Right-To-Left Support | ![]() |
| Color Contrast | ![]() |
| Mobile Device Support | ![]() |
| Keyboard Navigation Support | ![]() |
| Axe-core Accessibility Validation | ![]() |
- All features of the component meet the requirement.
- Some features of the component do not meet the requirement.
- The component does not meet the requirement.Accessibility support for dependent components
The Blazor File Manager is a composite component that renders a file system-like interface. It integrates several Syncfusion Blazor components, each of which implements WAI-ARIA patterns and provides keyboard interaction and screen reader support. As a result, the File Manager’s overall accessibility experience combines the accessibility features of these dependent components.
The following dependent components are used within the Blazor File Manager:
| Dependent component | Location in the File Manager | Accessibility documentation |
|---|---|---|
| Toolbar | Rendered at the top of the File Manager for file operations such as new folder, upload, cut, copy, paste, delete, download, and view switching. | Toolbar Accessibility |
| Splitter | Separates the navigation pane (TreeView) and the content pane, and allows users to resize each pane. | Splitter Accessibility |
| TreeView | Rendered in the navigation (left) pane to display the folder hierarchy. It is also used inside the move dialog to select a destination folder. | TreeView Accessibility |
| TextBox | Rendered as the search input at the top-right of the File Manager for searching files and folders in the current folder and its subfolders. | TextBox Accessibility |
| Grid | Rendered in the content pane when the File Manager is in Details view. | Grid Accessibility |
| Context Menu | Rendered when a user right-clicks a file, folder, or empty area in the File Manager to access file operations. | Context Menu Accessibility |
| Dialog | Rendered for operations such as creating folders, renaming items, confirming deletions, moving items, uploading files, showing details or error messages and previewing images. | Dialog Accessibility |
| Uploader | Rendered inside the upload dialog to perform the upload operation. | Uploader Accessibility |
| Tooltip | Used to display tooltips in the File Manager. | Tooltip Accessibility |
| Button | Rendered inside the move dialog. | Button Accessibility |
| Dropdown Menu | Rendered for toolbar items with a dropdown action, such as the SortBy and View (details/large icons switcher) toolbar items. | Dropdown Menu Accessibility |
| CheckBox | Rendered in the Large Icons view for selecting files and folders, as the checkbox column in Details view, and for the Apply all option in the upload retry dialog. | CheckBox Accessibility |
| Pager | Rendered in the Large Icons view when pagination is enabled. In Details view, paging is provided by the Grid’s built-in pager. | Pager Accessibility |
WAI-ARIA attributes
The Blazor File Manager component followed the WAI-ARIA patterns to meet the accessibility. The following ARIA attributes are used in the Blazor File Manager component:
| Attributes | Purpose |
|---|---|
| aria-disabled | Indicates whether the Blazor File Manager component is in disabled state. |
| aria-haspopup | Indicates whether the Toolbar element has a suggestion list. |
| aria-orientation | Indicates whether the Blazor File Manager element is oriented horizontally or vertically. |
| aria-expanded | Indicates whether the Treeview node has been expanded. |
| aria-owns | Contains the ID of the suggestion list to indicate popup as a child element. |
| aria-activedescendent | Holds the ID of the active list item to focus its descendant child element. |
| aria-level | Specifies the level of the element in Treeview Structure. |
| aria-selected | Indicates whether a particular node is in selected state. |
| aria-placeholder | Represents a hint (word or phrase) to the user about what to enter in the text field |
| aria-label | Defines a string that labels the current element. |
| aria-checked | Indicates whether the checkbox is in checked state. |
| aria-labelledby | Labels the dialog. Often, the value of the aria-labelledby attribute will be the id of the element, which is used to title the dialog |
| aria-describedby | Describes the contents of the dialog. |
| aria-modal | Indicates whether an element is a modal when displayed. |
| aria-colcount | Specifies the number of columns in full table. |
| aria-colindexnt | Defines the number of columns within a grid. |
| aria-rowspan | Defines the number of rows a cell spanned within a grid. |
| aria-colspan | Defines the number of columns a cell spanned within a grid. |
| aria-sort | Indicates whether items in the grid or table are sorted in ascending or descending order. |
| aria-grabbed | This attribute is set to true, and it has been selected for dragging. If this element is set to false, the element can be grabbed for a drag-and-drop operation, but will not currently be selected. |
| aria-busy | This attribute is set to false when grid content is loaded. |
| aria-multiselectable | Defines more than one item has been selected. |
Keyboard interaction
You can use the following key shortcuts to access the Blazor File Manager without interruptions.
| Windows | Mac | Actions |
|---|---|---|
| Page Down | Page Down | Scrolls down to the next folder or file and selects the first item when files are loaded. |
| Page Up | Page Up | Scrolls up to previous folder and select the first item when files are loaded. |
| Enter | Enter | Selects the focused item and navigate through the child elements. |
| Tab | Tab | Focuses on the first element of toolbar and navigates through the next tab indexed element. |
| Esc(Escape) | Esc | Closes the image when it is in open state. |
| Alt + N | ⌥ + N | Creates a new folder dialog. |
| F5 | F5 | Refresh the Blazor File Manager element. |
| Ctrl+Shift+1 | ⌘ + ⇧ + 1 | Changes the Blazor File Manager layout to Grid view. |
| Ctrl+Shift+2 | ⌘ + ⇧ + 2 | Changes the Blazor File Manager layout to Details view. |
Ensuring accessibility
The Blazor File Manager component’s accessibility levels are ensured through an axe-core software tool during automated testing.
The accessibility compliance of the Blazor File Manager component is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the Blazor File Manager component with accessibility tools.
