I am working on web portal accessibility for my project. I am not very fond of listening to screen readers while i debug my changes.
Just wondering if there exist any tool, which can tell what the screen reader would read out.
This is to understand if there exist any ordering issue with the page.
Both VoiceOver on OS X and NVDA on Windows have an onscreen display that "allows you to view all the text that (screen reader) is currently speaking".
Here's how you can display and then hide them:
VoiceOver - caption panel
NVDA - Speech Viewer
EDIT for those wondering:
EDIT2 (2018): Firefox now has an Accessibility panel in its Devtools which display in a treeview the accessible name of each node. It isn't what a SR will read but it's its main source of information about a page through the OS accessibility API (browser software informs the OS which informs assistive technologies through their respective APIs).
Note: this is pretty low level which is both useful and useless depending on one's need.