~ selector prefix is WebdriverIO shorthand for locating an element by its accessibility ID — this proves the element is correctly exposed to the accessibility layer and keeps your tests stable across visual refactors.
This recipe covers accessibility spot-checking for native mobile. For operationalized a11y monitoring — scheduled runs, trend tracking, aggregated reports, and stakeholder dashboards — talk to your QA Wolf team about full-service accessibility testing.
Examples
Verify a screen’s key elements are reachable via accessibility semanticsWhen to use
- Your app has key interactive elements that must be exposed to VoiceOver (iOS) or TalkBack (Android).
- Your team wants to catch regressions where a developer removed or renamed an accessibility label.
- Your team wants a lightweight proxy for accessibility hygiene without a full WCAG audit.
- Your app has icon-only buttons that must have meaningful accessible names.