Some blocks do not inform that links opens in new tabs #38398
Labels
[Block] Comment Template
Affects the Comment Template Block
[Block] Post Title
Affects the Post Title Block
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Description
The following blocks have options to open links in new tabs, but does not inform users that the link opens in a new tab:
Opening links in new tabs without notifying, can be disorienting for some users.
Not all screen readers will use the
target
attribute for announcing that the link will open in a new tab.Read more:
https://www.w3.org/TR/WCAG20-TECHS/G201.html
https://adrianroselli.com/2020/02/link-targets-and-3-2-5.html
The exceptions are the site logo and site title block that adds the information using an aria-label:
Example from the site title block, which needs to be updated to include the link text:
Example from the site logo block:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 5.9, Gutenberg trunk.
NVDA screen reader.
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: