Migrating to v4.x DevTools Nuget
Steps for migrating to version 4.x of axe DevTools HTML for C# Nuget
axe DevTools Nuget
v4.x, while not a major rewrite, contains some large changes. The most notable changes are summarized below, followed by more specific changes to relevant packages.
axe-devtools-* suite of nuget packages, involved primarily a rebranding perspective.
Given the rebranding of the API, it is fair to outline that migration to v4.0 involves following this migration guide in a step by step fashion
There is no changes with the default environment requirements. The desired requirements are as below:
- Dotnet .NET Framework 4.5.2 or at least .NET Standard 2.0
Ensure you have access to Deque's registry. If not, refer to setup.
After successfully accessing setup, you may install Axe DevTools NuGet by including the following to your .csproj file.
<PackageReference Include="axe-devtools-selenium" Version="4.0.0" />
Asides installation, some noteworthy changes include:
- Namespaces have been changed from
Attestclass has been renamed to
- The Environment variable for configuring custom rules has been changed from
- The default ruleset has changed. Axe DevTools audits a given page with
wcag2as the default ruleset. No change is required by the end-user. If one wished to configure a different ruleset, they may use the respective ruleset api.