My sister has a very popular website built in WordPress, and when you search generic terms regarding her field of work it comes right up.
You can always think of Google giving benefit to good content + content that seems interesting to people (because they’re linking back to it, etc.).
It does fine with WordPress itself. Content is king.