wcag has provisions regarding cognitive issues, I have been thinking about writing an article arguing that dark patterns being liable under accessibility laws - but have not really shopped it around.
Of course one thing is nobody wants to sue someone because they don't understand something, because they think it means arguing they are stupid.
If anyone needs a test case, I consider myself a reasonably intelligent human who is absolutely too stupid to use modern technology and would be glad to proclaim that to a court. (executive function, working memory issues. latency is a killer for me.)