AO3 has a wonderful filtering system that allows anyone to avoid any possibly triggering or disturbing content, and people should absolutely make use of that. That is the whole reason the site functions well and why people love it. The site was, "made by freaks for freaks" and it will continue to oprate as so.
AO3 only allows fictional content of illegal topics. No images of actual minors (CSAM), animals, other illegal content is allowed on there, and you will be promptly banned if you post any sort of thing like it. Most of the archive is text based media anyway.
This site was made because other places like LiveJournal and FanFic.net not only banned the more "risque and degenerate" content, but then continued into mass censorship of any smut media, especially those featuring LGBTQ+ media and stories. People continue to point out that censorship is not a scalpel, it's a sledgehammer. When one gets to decide what is deviant or inappropriate, it doesn't just stop at the "extreme" fetishes/kinks. It continues to define the remaining content as "extreme" until we reach what FanFic.net, livejournal, and Wattpad are today: corporate, ad infested, commercialized websites that no longer actually care about fancontent creators and will gladly fuck them over to appease advertisers, leading to continued mass exodus. It's borne out of the same spirit as Fediverse: we should not be beholden to the whims of major corporations and advertisers.