Skip to content

Loading…

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

Closed
nvaccessAuto opened this Issue · 1 comment

1 participant

@nvaccessAuto

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

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
Something went wrong with that request. Please try again.