CSS is largely ignored by readers with few exceptions (`transform` is ignored, `display: none` excludes the text).
You can definitely make this accessible but that alone is a whole exercise. The best bet would be to use MathML-in-HTML and hope that the reader supports it.