Make figure reporting configureable, and figures quick navigable#16176
Conversation
… affected by documentFormatting.reportFigures
|
Thanks for your efforts, this is great. I looked at the source code and noticed you assigned the y key to this, could you mention this gesture in the description? |
Bother, I meant to remove this assignment before opening the PR. I shall remove it now, as I don't think most users will want this assigned by default. |
Qchristensen
left a comment
There was a problem hiding this comment.
Looks good, great job Sascha!
|
Disabling reporting of figures and captions as implemented here also disables reporting of table captions. While usage is quite similar, I feel that users may want to be able to configure table caption reporting in table formatting settings. Thoughts, @Adriani90, @michaelDCurran? |
|
There is issue #14874 which mostly leads to the reason in general why users would disable reporting of captions. This also affects table captions. |
…ccess#16176) fixes nvaccess#10826 Fixes nvaccess#14349 Summary of the issue: It has hitherto not been possible to navigate by figure with quick navigation keys, or to disable the reporting of figures and captions. Description of user facing changes Added a script to jump to next/previous figure in browse mode. Added an option to disable the reporting of figures and captions, and a script to toggle this setting. Description of development approach Examined similar code and based new code on existing code.
Link to issue number:
fixes #10826
Fixes #14349
Summary of the issue:
It has hitherto not been possible to navigate by figure with quick navigation keys, or to disable the reporting of figures and captions.
Description of user facing changes
Added a script to jump to next/previous figure in browse mode. Added an option to disable the reporting of figures and captions, and a script to toggle this setting.
Description of development approach
Examined similar code and based new code on existing code.
Testing strategy:
Manually tested the changes using a demo page. Ran unit and translation tests.
Known issues with pull request:
Only tested to work in firefox, as there is a problem with figures in Chromium (#16137).
Code Review Checklist: