Accessibility in ASP.NET MVC File Upload
26 Aug 20263 minutes to read
The Uploader control follows 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 Uploader 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 | ![]() |
| Accessibility Checker 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.Keyboard interaction
The Uploader control provides complete ARIA accessibility support, making it accessible to on-screen readers and other assistive technology devices.
The following standard keys work on the Uploader control:
| Keyboard shortcuts | Actions |
|---|---|
| Tab | Moves focus to next element. |
| Shift + Tab | Moves focus to previous element. |
| Enter | Triggers corresponding action to the button element. |
| Esc | Closes the file browser dialog alone and cancels the upload on drop the file. |
@Html.EJS().Uploader("UploadFiles").AutoUpload(false).AsyncSettings(new Syncfusion.EJ2.Inputs.UploaderAsyncSettings { SaveUrl = "https://services.syncfusion.com/aspnet/production/api/FileUploader/Save", RemoveUrl = "https://services.syncfusion.com/aspnet/production/api/FileUploader/Remove" }).Render()using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace EJ2CoreSampleBrowser.Controllers.TextBoxes
{
public class UploaderController : Controller
{
public ActionResult DefaultFunctionalities()
{
return View();
}
}
}Ensuring accessibility
The Uploader control’s accessibility levels are ensured through an accessibility-checker and axe-core software tools during automated testing.
The accessibility compliance of the Uploader component is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the Uploader component with accessibility tools.