Skip to content

Update axe-core to 4.11.1 via Deque.AxeCore.Selenium#2026

Open
v-sohmondal wants to merge 7 commits intomainfrom
users/v-sohmondal/axe-core-4.11.1
Open

Update axe-core to 4.11.1 via Deque.AxeCore.Selenium#2026
v-sohmondal wants to merge 7 commits intomainfrom
users/v-sohmondal/axe-core-4.11.1

Conversation

@v-sohmondal
Copy link
Copy Markdown
Contributor

@v-sohmondal v-sohmondal commented Mar 10, 2026

Details

Migrate the C# Selenium WebDriver sample from the deprecated Selenium.Axe package to the official Deque-maintained Deque.AxeCore.Selenium and Deque.AxeCore.Commons packages (v4.11.1).

Motivation

Update axe-core to 4.11.1. The Selenium.Axe package is deprecated as Deque has officially taken over the .NET bindings. See dequelabs/axe-core-nuget.

Context

Migration steps followed from Deque.AxeCore.Selenium - Migrating from Selenium.Axe.

  • Package changes: Replaced Selenium.Axe 4.0.21 with Deque.AxeCore.Commons 4.11.1 and Deque.AxeCore.Selenium 4.11.1.
  • Using directives: Replaced using Selenium.Axe; with using Deque.AxeCore.Commons; and using Deque.AxeCore.Selenium;.
  • API differences handled:
    • AxeResult.Error was removed; any errors that would have appeared there are now reported as exceptions.
    • AxeBuilder.Include(string, string) (iframe + element selector) is not supported. Replaced with AxeBuilder.Include(AxeSelector) using new AxeSelector(elementSelector, ancestorFrames).
  • Comment updates: Updated stale references from Selenium.Axe to Deque.AxeCore.Selenium and corrected .NET Framework version floor from 4.5+ to 4.7.1+.

Pull request checklist

  • If this PR addresses an existing issue, it is linked: Fixes #0000
  • New sample content is commented at a similar verbosity as existing content
  • All updated/modified sample code builds and runs in at least one PR/CI build
  • PR checks for builds named [failing example] ... pass in the PR build, then confirm they fail in the CI build

@v-sohmondal v-sohmondal marked this pull request as ready for review March 18, 2026 04:52
@v-sohmondal v-sohmondal requested a review from a team as a code owner March 18, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants