I agree, but I think you misread the comment you're replying to. They were referring to "dark patterns," a design feature used to trick users into taking actions they otherwise wouldn't. Much harder to flag :P
Some of those UX dark patterns would qualify as making the site inaccessible to people with add and adhd, others make it inaccessible to people with autism.
engagement driving bullshit could very easy become banned under ADA if the right public servant gave it enough thought.
I actually completely agree with this, but I didn't bring that up specifically because, as an autistic person with ADHD, I have gotten pretty poor responses in the past from saying my needs should be considered by UI/UX designers. There's not a lot of public will to consider autism and ADHD to be "real" disabilities and I'd love to see that change.