-
-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
report subscripts and superscripts #10919: exclude reporting on elements in browsers such as buttons etc. #11078
Comments
Other than in MathML or other explicitly defined math, it could be difficult to determine "math content". I think a reasonable path forward is to only announce base line if the last text announced was superscript or subscript. Examples could help to clarify your issue description: Given: Expected: |
Interestingly, I can't get NVDA to recognise that "some superscript note" is actually formatted as superscript. It was written like this in the comment, and visually appears as superscript. Pressing
|
Glad I'm not the first to report the issue just referenced, but check there for a good example and breakdown of the behavior. Discussion should continue here though. |
@Adriani90 and @ultrasound1372, would #11897 allow to close this issue? |
Here is a link to download the test build. |
@ultrasound1372 and @Adriani90 could you try the test build and indicate if it meets your needs? Would #11897 solve the root cause of this issue? Note however that it may not solve the issue raised by @feerrenrut regarding |
Ping @Adriani90, @ultrasound1372 |
@CyrilleB79 appears to work for the use case I presented in my issue. |
Yes @ultrasound1372, I have made a PR that may solve this issue. |
Yes, I was saying I tested the test build and it fixes the issue I reported. |
@Adriani90 it is a last attempt to ask you to test this updated build of PR #11897. |
This is still reproducible in NVDA alpha-23852,df92ef66. I can reproduce this issue now only in Firefox, version 92 currently. cc: @jcsteh |
@Adriani90 my question was not to test last alpha but the build of PR #11897 (cf. my previous message). Could you give a try and see if it resolves this problem for you? |
Oops I was missing that one. Sory for the confusion, and that it took so long. I am quite busy these times and don't find much time to contribute to NVDA. |
No problem, do not worry. The PR has not been delayed because of you but because of me anyway. Thank you for your feedback. |
Fixes #11815 Fixes #11078. Summary: When fetching formatting information with NVDA+F (once or twice) in a Firefox page, 'baseline' was reported. Only 'subscript' or 'superscript' is expected to be reported, not 'baseline' since 'baseline' is the default text position. When the 'Report superscript and subscript' option is checked, navigating in a Firefox page cause spurious reporting of 'baseline'. This is due to transitions between elements having no formatting information such as button or graphics and baseline text. Description of change: All objects generating the textInfo format field provide only the introduced enum standard values for 'text-position' field: - superscript - subscript - baseline - unspecified Unspecified is used in the following cases: - The API does not provide formatting info (e.g. buttons in Firefox) - Mixed text-position information, e.g. an Excel cell containing baseline and superscript.
Steps to reproduce:
Actual behavior:
NVDA reports very often "base line"
Expected behavior:
NVDA should report "base line" only in mathematical content or if this is part of a text block. Not on elements such as buttons etc.
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
Version: alpha-20086,f436d4d7
Windows version:
Windows 10 1909 Update
Name and version of other software in use when reproducing the issue:
All commonly used browsers, newest versions.
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
yes, the version before merging #10919 but this had not have separate reporting for subscripts and superscripts.
If addons are disabled, is your problem still occuring?
yes
Did you try to run the COM registry fixing tool in NVDA menu / tools?
n/a
The text was updated successfully, but these errors were encountered: