Tagging Results

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data
important

As part of the transition from the Axe DevTools Mobile dashboard to Axe Developer Hub, tags are now deprecated. If you have been using tags in your tests, they will still function as before. Tags will be removed entirely in the October 2026 release.

Tagging is a helpful feature to organize, share, and search for scans within the Axe DevTools Mobile Dashboard. Some helpful tags for your team may be the team name, build number, simulator version, etc.

Tagged scans are visible on the dashboard to everyone within your organization, whereas scans without tags are visible only to the user that created them. Tags have no effect on local-only results.

Send a Scan with a Tag

In the following example, we're using the parameter withTags and attaching a tag named "build: 0.0.1" to the scan.

func testAccessibility() throws {
    guard let result = try axe?.run(onElement: XCUIApplication()) else {
        XCTFail()
        return
    }
    try axe?.postResult(result, withTags: ["build: 0.0.1"])
}