Accessibility in Angular Uploader
31 Aug 20264 minutes to read
The Uploader component adheres to accessibility guidelines and standards, including ADA, Section 508, WCAG 2.2 standards, and WCAG roles that are used to evaluate accessibility.
The following table outlines the accessibility compliance status of the Uploader component:
- 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.Keyboard interaction
The following table lists the standard keyboard shortcuts supported by the Uploader component:
| Keyboard shortcut | Action |
|---|---|
| Tab | Move focus to the next focusable element (standard browser focus behavior). |
| Shift + Tab | Move focus to the previous focusable element (standard browser focus behavior). |
| Enter | Trigger the action associated with the focused button element (for example, opening the file browser from the browse button, or removing a file when its remove button is focused). |
| Esc | Cancel an in-progress upload operation. (The native operating-system file dialog is closed by the OS, not by the Uploader.) |
import { NgModule } from '@angular/core'
import { BrowserModule } from '@angular/platform-browser'
import { UploaderModule } from '@syncfusion/ej2-angular-inputs'
import { Component } from '@angular/core';
@Component({
imports: [
UploaderModule
],
standalone: true,
selector: 'app-root',
template: `
<ejs-uploader #defaultupload [asyncSettings]='path'></ejs-uploader>
`
})
export class AppComponent {
public path: Object = {
saveUrl: 'https://services.syncfusion.com/angular/production/api/FileUploader/Save',
removeUrl: 'https://services.syncfusion.com/angular/production/api/FileUploader/Remove' };
constructor() {
}
}import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import 'zone.js';
bootstrapApplication(AppComponent).catch((err) => console.error(err));Ensuring accessibility
The Uploader component’s accessibility compliance is validated using accessibility-checker and axe-core tools during automated testing.
The following sample demonstrates the accessibility compliance of the Uploader component. Open the sample to evaluate the component’s accessibility using industry-standard tools.
See also
You can also explore Angular File Upload feature tour page for its groundbreaking features. You can also explore our Angular File Upload example to understand the accessible file upload experience.