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

Remove figure/figcaption from blockquote.html #2562

Merged
merged 1 commit into from Jul 23, 2023
Merged

Conversation

aardrian
Copy link
Contributor

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

@github-actions
Copy link

It looks like this is your first pull request. 🎉 Thank you for your contribution! One of the project maintainers will triage and assign the pull request for review. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

Copy link
Member

@estelle estelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🎉

@estelle estelle merged commit ed18c4a into mdn:main Jul 23, 2023
2 checks passed
@github-actions
Copy link

Congratulations on your first merged pull request. 🎉 Thank you for your contribution! Did you know we have a project board with high-impact contribution opportunities? We look forward to your next contribution.

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

Successfully merging this pull request may close these issues.

Blockquote example does not need figure/figcaption
2 participants