Skip to main content

What are you looking for?

Try searching for…

Introduction

Accessibility

Designsystemet helps organizations comply with accessibility requirements through accessible components and guidance.

Updated September 18, 2026

Designsystemet provides foundational components that meet the WCAG requirements included in accessibility regulations. It also offers guidance and recommendations beyond legal requirements, helping teams create solutions that are highly usable for everyone, regardless of permanent or temporary disabilities

Accessibility often requires detailed technical and design-related considerations. Many components depend on specific HTML and ARIA attributes, correct focus management, and dynamic announcements to screen readers. It is also necessary to consider how different screen readers and browsers interpret combinations of attributes and elements. These are complex challenges that individual developers and designers should not have to solve on their own. When we solve them once as a community, many can benefit from the same solutions. Any issues or improvements that are identified can be fixed centrally and benefit everyone using Designsystemet

What does Designsystemet solve, and what is your responsibility?

Designsystemet can help with some of the WCAG requirements covered by accessibility regulations, but compliance also depends on component usage and content.

Designsystemet provides

  • Focus states: Clear and visible focus indicators for interactive elements on all backgrounds.
  • Color contrast: Sufficient contrast and visual distinction for users with low vision or color blindness.
  • Keyboard accessibility: All interactive elements can be reached and operated using a keyboard.
  • Scalable design: Support for different screen sizes, browser zoom levels, and preferred text sizes.
  • Roles and states: Semantic structures and ARIA attributes that support assistive technologies.
  • Accessible forms: Correct structure, associations, and validation patterns.
  • Interactive target size: Sufficient touch target sizes based on WCAG 2.2 criterion 2.5.8, as guidance beyond the current legally required WCAG 2.1 criteria.

You are responsible for

  • Semantic HTML: Use appropriate HTML elements to communicate meaning, structure, and heading hierarchy.
  • Text alternatives: Provide descriptive labels and text alternatives for regions and non-text content. Requirements are documented on individual component pages.
  • Specify the content language: Set the appropriate language code for the page, for example <html lang="en"> for English.
  • Correct token usage: Use design tokens for their intended purpose. For example, if a token is named border, it should be used for borders and not backgrounds.
  • Color scheme (optional): Use <body data-color-scheme="auto"> to follow the user's system preference.

In our GitHub Wiki you can find a detailed overview of which WCAG requirements Designsystemet helps you satisfy.

Accessibility is an integral part of our entire process, from the moment a component is specified until it is in production. When we discover issues that affect the accessibility of a component, they are prioritized by the team.

Accessible components are only one part of creating accessible digital services. We will therefore continue to publish guides and supporting resources that help teams use components correctly and achieve their intended accessibility benefits.

Edit this page on github.com (opens in a new tab)