daisy / math-a11y

5 stars 2 forks source link

Characters at the beginning and the end of a math expression are not spoken when navigating character by character in Word 365 #6

Open brichwin opened 3 months ago

brichwin commented 3 months ago

eDAD tracking ticket for this issue is Accessibility 228598

Description:

There are issues of content not being spoken when using the left/right arrow keys to navigate character by character in and out of a math expression:

Steps to Reproduce:

  1. Launch the JAWS screen reader
  2. Configure JAWS: a. Enable MathCAT b. Configure MathCAT
    1. Speech Style: ClearSpeak
    2. Math Verbosity: Verbose c. Restart JAWS if changes were made
  3. Open the attached file (Text before and after math expression.docx) with Microsoft Word 365 (Desktop version)
  4. Navigate to the line with the math expression
  5. Use the left and right arrow keys to move character-by-character in and out of the start and end of the expression
  6. Observe that: a. Not all keypresses result in audio being produced b. The first character of the expression is not spoken when navigating into the expression from the left. c. The first character of text after the expression will not be spoken when navigating past it from either direction

Expected Behavior:

When navigating character by character with a screen reader, each press of the left or right arrow keys should result in some audio being produced. Also, text characters and other content should be reliably spoken when navigating over it.

Observed Behavior:

Not all left-arrow or right-arrow keypresses result in audio being produced. Some content that is present in the document is not spoken when navigating over it character-by-character.

Version Information:

Example Video and Sample Document:

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

Attachments:

brichwin commented 2 months ago

I'm separating the original issue into two, since I had combined what appear to be separate issues into one report.

jkhurdan commented 2 months ago

I was able to verify that this issue does exist with JAWS. I however found that NVDA will read the equation (along with the x at the beginning) but not the l in last after the equation going backwards. Upon review, NVDA has an additional setting: "Navigation speech to use when beginning to navigate an equation: Speak" that JAWS does not. This causes NVDA to speak the whole equation out first, while leaving your cursor in its position, allowing you to use your right arrow to read character by character afterwards.

NVDA Version and Settings Version 2024.2 Configured with MathCAT and ClearSpeak Verbose

brichwin commented 1 month ago

In case it is relevant to this issue, Neil Soiffer added a MathCAT issue for eating the character after the expression: https://github.com/NSoiffer/MathCATForPython/issues/80