daisy / math-a11y

5 stars 2 forks source link

NVDA skips content after the first Office Math expression when a text phrase has multiple Office Math expressions #24

Open brichwin opened 1 month ago

brichwin commented 1 month ago

Description:

When NVDA with MathCAT is reading aloud a text phrase that contains multiple in-line Office Math expressions as the result of a keyboard command/navigation, the content between the first Office Math object up-to and including the last Office Math expression are omitted. However, when NVDA speaks the same content as the result of a a mouse trigger (hover), it speaks that content correctly.

Note: This issue does not occur with the JAWS screen reader or when speaking the same content in a web page (HTML + MathML).

Steps to Reproduce:

  1. Launch the NVDA screen reader and ensure it is configured to use the NVDA MathCAT plug-in (see: Recommended NVDA settings)
  2. Restart NVDA if necessary to activate the MathCAT plug-in.
  3. Enable mouse tracking in NVDA
  4. Launch Microsoft Word 365 (desktop app) and start a new blank document
  5. Make sure the mouse pointer is not over the MS Word window
  6. Type the sentence: The expressions a=b and y=3s are examples of equations.
  7. Convert a=b into an Office Math expression by selecting it, pressing Alt+=, and then pressing Ctrl+=
  8. Arrow over to the y=3s expression
  9. Convert y=3s into an Office Math expression by selecting it, pressing Alt+=, and then pressing Ctrl+=
  10. Move to the start of the document and then use the up/down arrow keys as needed to have NVDA read aloud the sentence you just entered Observe that the sentence is spoken as The expressions a is equal to b are examples of equations. instead of as The expressions a is equal to b and y equals 3 s are examples of equations.
  11. Now use the mouse to hover and dwell over the same sentence in the MS Word document
  12. Observe that NVDA speaks the sentence correctly upon mouse hover

Expected Behavior:

When NVDA is speaking content in a MS Word document as the result of a keyboard command/navigation, none of the content should be skipped regardless of how many in-line Office Math objects are in a text phrase.

Observed Behavior:

When NVDA is speaking content in a MS Word document as the result of a keyboard command/navigation, content after the first Office Math object up-to and including the last Office Math object is skipped over when multiple in-line Office Math objects are in a text phrase.

Version Information:

Example Video and Sample Document:

We have provided a link to a short example video demonstrating the issue, and attached the Word document used in the video.

Attachments:

Credits

Thanks to Neil Soiffer, Talking Cat Software for reporting this issue.

GeorgeKerscher commented 1 month ago

Confirming this behavior.