nvda
95c986dd - Early support for mathematical content in Kindle for PC. (#7536)

Commit
8 years ago
Early support for mathematical content in Kindle for PC. (#7536) Kindle implementation: 1. A future version of Kindle will expose MathML on embedded objects with ROLE_SYSTEM_EQUATION via a "mathml" IAccessible2 object attribute. 2. Alternatively, if there is no MathML, alt text might be exposed instead via accName. 3. Both MathML and alt text can be exposed, in which case we should always use the MathML. In this commit: 1. Update the Kindle app module to fetch MathML accordingly. It also ensures that alt text (which is placed in the "content" ControlField attribute) doesn't get reported if there is MathML. 2. MozillaCompoundTextInfo NVDAObjectAtStart property: Return the embedded object for graphics, math, etc. instead of the parent document. This is necessary to allow for interaction with math. 3. BrowseModeTreeInterceptor: When activating an NVDAObject, if doAction isn't implemented, just ignore it rather than throwing an exception. Otherwise, pressing enter on a graphic (which can't be activated in Kindle) throws an exception. 4. Update the User Guide with details about this, as well as adding a link to the MathPlayer documentation about navigation commands.
Author
Parents
Loading