zotero / reader

PDF/EPUB/HTML reader for Zotero
Other
129 stars 30 forks source link

miscellaneous a11y improvements #137

Open abaevbog opened 2 months ago

abaevbog commented 2 months ago

Example of the virtual cursor jumping to the top (still this PR but without virtual cursor handling): recording

Current behavior: recording. Notice how the screen reader does read roughly where we left off in the search and where the chapter begins after outline navigation.

I think this already would be a bit improvement for the usability issues described in https://forums.zotero.org/discussion/comment/469784/#Comment_469784. There are a few other instances when it might be good to explicitly tell screen readers where to place the virtual cursor, such as when the page input is changes and when we move to the beginning/end of the document with Home/End shortcuts. But I wanted to check in to make sure this is on the right track.

@AbeJellinek, @mrtcode let me know what you think!

Fixes: https://github.com/zotero/zotero/issues/4515