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.