WCAG 2.1 compliantEufemia aims to be
HTML elements are by default good at accessibility. Eufemia components and its building blocks are also made to include all the needed features to make them accessible.
WCAG 2.1 and Universal design (UU)
On uutilsynet.no you find an easy to read WCAG guide (Norwegian).
You as a developer has the responsibility to have the technical knowledge about accessibility. You have to implement and use best practices to make applications accessible for every user. We talk about all kinds of users, people who have temporary or permanent disabilities, so they depend on what you put into the application - as code. Therefore, you have to:
- Test keyboard navigation during development
- Test with screen readers during development
- Test with 200% in
2.1.1 Keyboard: All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user's movement and not just the endpoints.
You as a developer has to make sure your application supports keyboard navigation. This will also make your application more assistive technology and screen friendly.
@dnb/eufemia and it's building blocks are supporting keyboard usage.
Read more about focus management and the helper tools.
Screen reader users
Should be able to use the most common used screen readers like VoiceOver (Apple devices) and NVDA or JAWS on Windows. Read more about screen readers.
4.1 Compatible: Maximize compatibility with current and future user agents, including assistive technologies.
Good keyboard support is crucial to make web application accessible on for assistive technologies. So - think landmark and semantics first. This includes also typography and best practices for images and illustrations.
The WCAG 2.1 document is describing it clearly:
1.4.4 Resize text: Text can be resized without assistive technology up to 200 percent without loss of content or functionality.
1.4.8 Visual Presentation: Text can be resized without assistive technology up to 200 percent in a way that does not require the user to scroll horizontally to read a line of text.
This means; every application has to be made responsive. Even if the application lives in a static sized container (960px). Use your browser or system settings to change the
font-size for testing purposes.
@dnb/eufemia and it's building blocks are build from ground up to support font-size adaption automatically.
You find examples of responsive application layouts in the demos section.