She invented a world with race based slavery and only addressed it by normalizing the slavery whenever an outside took issue with it. It would have been easy to have the Weasleys be opposed to House Elves, but they also wanted one and the reader is suppose to feel pity that our poor, loving, relatable family can’t have a house slave.
This discussion is the kind of stuff I really don’t care about. I read the book when I was a kid and I remember clearly feeling for the injustice of elves being slave, cheering when Dobby was freed and for Hermione and her movement (she started one, I believe). So I am not sure what’s the point to discuss what the author “could have written” or what you think she meant you to feel when writing. These are both assumptions that I can’t even relate to, so they fit perfectly into what I was talking about: starting from “she is racist” and then trying to find bits and pieces in the books that can be used to support the claim.
but the thesis of a story is going to reflect the writer’s beliefs and morals.
Assuming this is true in every case, which is debatable, none of the stuff mentioned is the thesis of the book. In fact, I answered to a comment that was claiming she was a white suprematist based on character names and stuff like this. On the other hand, a HUGE role in the story is taken by the opposition to the “pure blood” movement (embodied by the main villain), and basically every positive character is or supports mixed-bloods (in English they are called mud-bloods? Not sure). To me this in complete anthitesis with white suprematism, but I would use neither to try to infer what JKR views are on race/society.
My point is that in 7 books and thousands of pages you will find details that you can use to suggest her views are anything you want. The main plot of HP is generally a positive story, nothing that can be linked to racism, white suprematism etc. and so are the main characters. So why picking minor details or creative interpretations of the books instead of her actual words as JKR? Like yes, a transphobic, racist, whatever wrote a nice book series, possibly before becoming transphobia, racist etc.