Accessibility is one of the key concepts in present-day web development. It presupposes equal access to web resources for people with diverse abilities.
The Webix library meets the main requirements of the WAI standards and provides support for the following accessibility components:
There are special attributes used in the markup of Webix widgets that make it possible for screen readers to recognize and interpret them to the user, namely:
The details on the use of WAI-ARIA attributes on HTML5 elements are given in the official specification.
Some widgets include clickable elements that don't allow setting labels by public API: buttons for Calendar, "+/-" icons for Counter, legend items for Chart, etc.
For such elements Webix adds default ARIA labels as a part of the current locale ("en-US" by default):
webix.i18n.locales["en-US"]={
aria:{
//counter buttons
increaseValue:"Increase value",
decreaseValue:"Decrease value",
..etc..
}
};
To look up the full structure of the locale or change the labels - follow the main Internationalization guide.
All Webix widgets are provided with keyboard navigation, which allows using a Webix-based app without a mouse pointer. Basic rules include:
For the full list of built-in hotkeys, consult the Keyboard Events and Navigation article.
Among various Webix skins there's a high-contrast one. Being rather attractive, it is also helpful for those users who have weak eye-sight.
In order to apply the contrast skin, include the following codeline into the page:
<link href="../codebase/contrast.css" rel="stylesheet" type="text/css">
Back to top