Whether or not students need to self-identify or disclose their circumstances is not the point. The point is that invisible circumstances exist regardless of disclosure, and, collectively, we can all do a better job of awareness: identifying and removing barriers from courses can benefit everyone, but doing so can also be critical to those who need it.
https://er.educause.edu/blogs/2019/11/a-taxonomy-of-inclusive-design-on-disclosure-accessibility-and-inclusion