This question already has an answer here:
In the Harry Potter books, women in the magical cover very important roles, and are equal to men from this point of view. This emancipation is similar to what has been quite recently achieved in our times (in UK, at least)
What is remarkable is that, when describing ancient magical society, JK Rowling seems to remark that this equality was real also in those times. Even when speaking about a century ago or before, women with powerful roles are cited.
I am also thinking about quidditch, which is the main magical sport and is played by both men and women on equal basis (at Hogwarts, at least).
I tend to believe this is a JK Rowling's specific choice. Are there any sources where she talks about this?