Search results

Accessibility in Vue ProgressButton component

25 Oct 2021 / 2 minutes to read

ARIA attributes

The web accessibility makes web content and web applications more accessible for people with disabilities. Mostly, it helps in dynamic content change and development of advanced user interface controls with AJAX, HTML, JavaScript, and related technologies. The ProgressButton provides a built-in compliance with WAI-ARIA specifications. The WAI-ARIA support is achieved using the aria-label, aria-valuemin, aria-valuemax, and aria-valuenow attributes in the ProgressButton. It helps by providing information about the widget for assistive technology in the screen readers.

Properties Functionality
aria-label Indicates the text content of the ProgressButton.
aria-valuemin Indicates the minimum value for the ProgressButton.
aria-valuemax Indicates the maximum value for the ProgressButton.
aria-valuenow Indicates the current value for the ProgressButton.

Keyboard interaction

Keyboard shortcuts Actions
Enter/Space Starts the progress.
Copied to clipboard
 <ejs-progressbutton content="Spin Left" :enableProgress="true"></ejs-progressbutton>

import Vue from 'vue';
import { ProgressButtonPlugin } from "@syncfusion/ej2-vue-splitbuttons";
import { enableRipple } from '@syncfusion/ej2-base';


export default {}

  @import '../node_modules/@syncfusion/ej2-base/styles/material.css';
  @import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';
  @import '../node_modules/@syncfusion/ej2-popups/styles/material.css';
  @import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material.css';