Apparently, Apple changed the API in favour of a new isEnabled parameter: tabViewBottomAccessory(isEnabled:content:).
In contrast to the documentation I couldn't find the new overload in iOS 26.1 SDK, but it seems to be available from iOS 26.2 Beta.