cashapp / AccessibilitySnapshot

Easy regression testing for iOS accessibility
Apache License 2.0
541 stars 69 forks source link

Tab bar descriptions are incorrect on iOS 14 and later #26

Open NickEntin opened 3 years ago

NickEntin commented 3 years ago

From testing on iOS 14.0.1, the actual description around tab bars differs slightly from what shows up in tests:

NickEntin commented 11 months ago

The first item in the tab bar is prepended with "Tab Bar".

This is still true on iOS 16

In the case of fake tab bars (i.e. not using UITabBarController), some of the element descriptions no longer indicate the position in the tab bar (i.e. "x of y").

From what I can tell this was corrected by iOS 16

NickEntin commented 7 months ago

Starting in iOS 17, it looks like in some cases it will read the badge as part of the description.

NickEntin commented 7 months ago

The first item in the tab bar is prepended with "Tab Bar".

This is still true on iOS 17 as well.