Accessibility Inspector Bugs

Hello, i'm currently working on improving accessibility in my app using the built-in Xcode tool, Accessibility Inspector.

For the most part, it works well — it correctly displays warnings about missing button labels or insufficient touch target sizes. However, it does not seem to handle certain cases properly, particularly dynamic fonts.

Here is the approach I’m using for dynamic fonts:

static func getDynamic(font: FontType, size: CGFloat, textStyle: UIFont.TextStyle) -> UIFont {
    let customFont = UIFont(name: font.rawValue, size: size)!
    return UIFontMetrics(forTextStyle: textStyle).scaledFont(for: customFont)
}
label.adjustsFontForContentSizeCategory = true

My labels are configured with:

numberOfLines = 0

no fixed height constraints

This allows them to expand as needed without clipping. I have tested this visually on multiple devices, and everything appears to work correctly — fonts scale as expected, and text is not truncated.

However, Accessibility Inspector still reports issues related to dynamic type and, in some cases, text clipping.

On iOS 18, approximately 40% of the fonts configured this way still trigger warnings about missing dynamic type support, even though they scale correctly.

On iOS 26+, the issue becomes consistent — every font in the app triggers this warning. There are no cases where the inspector passes without reporting a problem, despite the UI behaving correctly in practice.

So my question is:

Is there a known way to resolve this? Could this be an issue with Apple's tools? If so, is there any information on when it might be fixed?

Hi, thank you for taking the time to raise this issue. If the labels are visually growing as expected with no clipping, it definitely feels like a bug with Accessibility Inspector!

Could you please file a Feedback Assistant report, and post the ID here? That will ensure we're tracking the issue. Thank you again!

Accessibility Inspector Bugs
 
 
Q