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

Fix broken Page title for pages created inline within in Nav block #41063

Merged
merged 12 commits into from
May 20, 2022
Prev Previous commit
Next Next commit
Ensure aria label is also available on Draft Pages
  • Loading branch information
getdave committed May 20, 2022
commit d29de3eb53f8bd78da4efd6562c961f12fccbbc1
6 changes: 5 additions & 1 deletion packages/block-library/src/navigation-link/edit.js
Original file line number Diff line number Diff line change
@@ -815,7 +815,11 @@ export default function NavigationLinkEdit( {
text={ tooltipText }
>
<>
<span>
<span
aria-label={ __(
'Navigation link text'
) }
>
{
// Some attributes are stored in an escaped form. It's a legacy issue.
// Ideally they would be stored in a raw, unescaped form.