The ArcGIS Maps SDK for JavaScript leverages the W3C Accessibility Standards to ensure the applications and experiences you create are usable by a wide range of audiences. We plan to continue to improve accessibility with each release.
Apps created with the ArcGIS Maps SDK for JavaScript support keyboard navigation, alternative text, color contrast in dark and light themes, reduced motion preferences, semantic structure, and additional design and feature considerations. This enables developers to create apps that are accessible to a broader audience as they take advantage of these capabilities.
While JavaScript Maps SDK and Calcite Design System are created with accessibility in mind, there are additional steps you can take to ensure a diverse audience can navigate, understand, and use the solutions you build. For accessibility best practices, visit Accessibility - Calcite Design System.
Keyboard navigationKeyboard navigation is supported in both 2D and 3D.
To accommodate users with vestibular motion disorders or individuals who prefer less animation in their applications, the prefers-reduced-motion
media query is supported in 2D MapViews.
When users have enabled reduced motion or no animations in the operating system or browser, animations will be reduced in the following instances:
Additionally, widgets and ArcGIS Maps SDK for JavaScript components built with Calcite Design System adapt to reduced motion by reducing the speed of certain animations, such as during widget loading.
Implementing reduced motion in your applicationsWhen designing apps with reduced motion in mind, consider the following guidelines:
To determine if a user has enabled reduced motion on their operating system or browser, use the following code snippet to adjust your app's animations accordingly:
Use dark colors for code blocks Copy
1
const isReduced = window.matchMedia(`(prefers-reduced-motion: reduce)`).matches;
Color
When designing apps with color in mind, some considerations include:
Set the page locale to help assistive technologies know how to read it:
<html lang="sv">
or dynamically:
document.documentElement.lang = "sv"; // Swedish
Localize the strings used by the Maps SDK in your app:
intl.setLocale("ja"); // Japanese
For additional accessibility best practices, visit Accessibility - Calcite Design System.
For more information about Esri's commitment to accessible technology, visit Esri Accessibility. For legal information about accessibility, visit Esri Legal Accessibility.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4