Remove figure/figcaption from blockquote.html #2562
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Removes the
<figure>
/<figcaption>
construct that wraps the<blockquote>
but is not explained in the page nor matches the example later in the page.Motivation
In NVDA, the
<figure>
causes an announcement of the figure, which is fine but adds unnecessary noise. The<figcaption>
causes announcement of the text it contains at the start of the content, prior to announcing the presence of the figure or blockquote Then the contents of the<figcaption>
are announced again as the user moves the virtual cursor through the DOM.As a user, it is unclear why I am hearing this information twice (other than the code chosen). As a developer, there is no guidance on what this code will output.
In JAWS, the "has details" announcement is a function of the
<figcaption>
.Additional details
See #28133 Blockquote example does not need figure/figcaption
Related issues and pull requests
Fixes #28133