Domains for tokens

1. why domains are needed

  • Security and control: only assigned domains can use accessibility tools.
  • Compliance: Some countries are required to assign appropriate domains in the accessibility declaration.
  • Personalization: Allows you to customize accessibility for different versions of your site.

2 Domain requirements

The domain should be full (e.g. www.example.com or example.com). Warto przypisać obie wersje, jeżeli witryna działa zarówno z prefiksem www, jak i bez niego. Dodatkowo, dla międzynarodowych wersji witryny (np. example.pl, example.de), każda domena powinna mieć osobny token.

DockWCAG Domains

3. more than one domain

Entering more than one domain is necessary when:

  • The site works with and without www.
  • There are different national versions of the site (e.g., example.pl, example.de).

4. when to assign separate domains

Separate domains should be assigned in the case:

  • Different language/regional versions: Each country has a separate token with the corresponding domain.
  • Changes to the accessibility declaration: Each domain should have a separate token to make the accessibility declaration compliant with local requirements.

5 Summary

Domains assigned to tokens allow sites to manage accessibility in a secure and compliant manner. The ability to assign multiple domains to a single token provides the flexibility to monitor availability on different versions of a site.