Skip to content
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

H(n) tag announced twice when nested span given display block #4404

Closed
nvaccessAuto opened this issue Aug 20, 2014 · 1 comment
Closed

H(n) tag announced twice when nested span given display block #4404

nvaccessAuto opened this issue Aug 20, 2014 · 1 comment

Comments

@nvaccessAuto
Copy link

Reported by haltersweb on 2014-08-20 00:50
If an H(n) tag contains one or more span tags that are styled as display: block the H tag is reannounced for every "chunk" of content.

I.e.

This is a nice heading

will read:

"Heading level 3 This is a"
"Heading level 3 nice heading"

Giving the listener the impression that there is more than one H3.

this doesn't happen if the spans are left as (default) inline or given inline-block.

@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2014-08-20 06:07
This is by design. A heading is usually only one line, so to avoid pointless verbosity, we don't report exiting a heading when moving by line. However, the downside of this is that we have to report the fact that something is a heading on every line. Otherwise, the user wouldn't know they were still within a heading. A user can check this by moving by character or word, in which case NVDA will report when exiting headings.
Changes:
Added labels: wontfix
State: closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant