-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
Span tags in EPUB are causing NVDA to pause after each word #17596
Comments
Thanks for reporting this. |
Note that this doesn't happen for a simple span: |
@jcsteh said "my guess is that the spans have semantics" |
@jcsteh said "There needs to be a clear rule here: we can't just pick HTML tags arbitrarily." Not picking arbitrarily. The span and div tags should be ignored as they hold no inherent semantic value. The HTML element is a generic inline container for phrasing content, which does not inherently represent anything. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span |
I read your point, but the symptoms you're seeing suggest otherwise. As my test case above demonstrates, span elements alone do not create separate elements in the accessibility tree and thus do not cause line breaks when screen layout is disabled. I think the only way we're going to make progress here is to see the exact code for the span element in question. It should be possible to extract this using DevTools.
In any case, I was CCed to provide information or guidance to help diagnose this, which I have now done. |
Purely positional or stylistic span tags in an EPUB are causing NVDA to break up the speech by pausing after each word.
See the example in the video from 20-40 seconds:
LanguageDemo.mov
Steps to reproduce:
Opening the attached EPUB in Thorium https://thorium.edrlab.org/en/ and reading in NVDA
Actual behavior:
Each span tag is and announced with a pause between each word.
Note that after 40 seconds in the video the voice is correct again because NVDA is reading an image alt tag which has no spans.
Expected behavior:
Span tags are ignored like the JAWS example in the video from the 0-20 seconds
NVDA logs, crash dumps and other attachments:
n/a
System configuration
NVDA installed/portable/running from source:
unknown
NVDA version:
unknown
Windows version:
Windows 11
Name and version of other software in use when reproducing the issue:
Opening the attached EPUB in Thorium https://thorium.edrlab.org/en/ and reading in NVDA
Other information about your system:
This is a fixed layout EPUB that has span tags. The English text uses span tags only for position and these should not affect the speech.
I personally don't have access to NVDA (Mac user) so am relying on others to test and report the issues.
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.
No
If NVDA add-ons are disabled, is your problem still occurring?
unknown
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
unknown
Sample EPUB attached here Dual_language_test.epub.zip happy to supply more!
Thanks
Ken Jones
Director
Circular Software Limited
circularsoftware.com
ken at circularsoftware.com
@CircularKen
linkedin.com/in/kenjones
The text was updated successfully, but these errors were encountered: