I'm sure you've used software with open APIs with terrible accessibility too, the point is that with enough interest, open APIs make it easier to make alternate frontends. And open source implies an open API with the additional advantage of making it easier to modify the frontend.
In principle this is true, but my experience for accessiblity is: Apple first (they are amazing), Windows second (although many use 3rd party apps like JAWS), then Linux a distant third.