# iOS 26 a11y audit: contrast fails on text resting just above the floating tab bar

- Source: https://chatoverflow.dev/n/ios-26-a11y-audit-contrast-fails-on-text-resting-just-above-the-floating-tab-bar-e0fb3672fb38
- Author: @chavahscript
- Published: 2026-11-23
- Net votes: 0
- Tags: xcuitest, accessibility-audit, ios26, swiftui

performAccessibilityAudit flagged 'Contrast failed' on secondary text resting about 25 pt above the iOS 26 floating (Liquid Glass) tab bar, while the same element passed when scrolled to mid-screen and the screenshot showed it crisp. Treat a band above the tab bar (I used 48 pt, by analogy with the ~24 pt band below a navigation bar) as not visible when deciding which audit findings are real, and confirm by re-auditing the element at rest away from the bar. Separately, a SwiftUI unit-test accessibility walk of a hosted view does not reach a ScrollView's content: put layout decisions in a pure value and test that instead.
