NSoiffer / MathCATForPython

A Python Interface and NVDA plugin to MathCAT
MIT License
7 stars 7 forks source link

Navigation: Land on level below top by default #50

Closed bhavyashah closed 1 year ago

bhavyashah commented 1 year ago

Currently, when I enters a Math block, my focus is on the parent level by default. I habitually arrow left and right until I understand that I will need to go a level deeper. I would argue that a user's principal goal in going into a Math block is to explore it granularly which can only be achieved starting at the level below the parent level. Therefore, that should be the default level the user lands on when they Enter into Math content. Note: I can see the case to default to the bottommost level too - so all the way down and deep into the Math - but I won't advocate for it myself.

NSoiffer commented 1 year ago

This is really about what NVDA should do when initializing navigation, so I'm moving it to that repo.

NSoiffer commented 1 year ago

Please give this version of MathCAT (download and use Manage Addons) a try. Let me know if you like the behavior.

bhavyashah commented 1 year ago

I have only explored one of my Math files with this version, but I think I am really liking this change for the reasons I outlined previously - thank you so much! One issue that I am running into, and this may well be unrelated to the build you shared, is that for a newly encountered Math block, I need to press Enter twice to get into the Math block (the first Enter seems to enter and immediately exit the block). NVDA+Alt+m works as expected. Please let me know if I should file a new ticket for that one.

NSoiffer commented 1 year ago

I'm not seeing that problem with "Enter" in web pages. Please point to an example page that exhibits that problem for you.

For a Word doc with MS Word math, "Enter" won't go into edit mode because MS Word uses that to create a new line. Instead, you have to use NVDA+Alt+m.

bhavyashah commented 1 year ago

Attaching a test file that consistently reproduces the issue in Firefox version 115.0.2. Just navigate to any Math block, press Enter, and arrow left. Note: Please change the extension back to .html. GitHub doesn't seem to take a .html attachment directly.

Twice Enter Math CAT Bug Test Case.txt