How do I ignore items from automatic accessibility audit?
Asked on 07/30/2024
1 search
To ignore items from an automatic accessibility audit, you can use the disabled
trait in your tests. This is preferable over other techniques like commenting out the test function because it ensures that the code inside the test still compiles. The disabled
trait accepts a comment which you can use to explain the reason why the test is disabled, and these comments always appear in the structured results, making them visible in your CI system.
For more details, you can refer to the session Meet Swift Testing at the timestamp 09:37.

Get started with Writing Tools
Learn how Writing Tools help users proofread, rewrite, and transform text in your app. Get the details on how Writing Tools interact with your app so users can refine what they have written in any text view. Understand how text is retrieved and processed, and how to support Writing Tools in custom text views.

Support semantic search with Core Spotlight
Learn how to provide semantic search results in your app using Core Spotlight. Understand how to make your app’s content available in the user’s private, on-device index so people can search for items using natural language. We’ll also share how to optimize your app’s performance by scheduling indexing activities. To get the most out of this session, we recommend first checking out Core Spotlight documentation on the Apple Developer website.

Meet Swift Testing
Introducing Swift Testing: a new package for testing your code using Swift. Explore the building blocks of its powerful new API, discover how it can be applied in common testing workflows, and learn how it relates to XCTest and open source Swift.