#11793·gutenberg

Implement a red border around invalid link formatting

Author: talldanCreated Nov 13, 2018Updated Sep 18, 2026
Labels[Type] Bug[Type] Enhancement[Focus] Accessibility (a11y)[Status] In Progress[Status] Blocked[Package] Format library[Feature] Link Editing

Description This issue is split from #1838 and the PR #11286.

It's blocked by #11484

When a user inserts a link that's deemed to be invalid, the classic editor displays a red dashed border around the formatting to indicate a potential issue: screen shot 2018-11-05 at 4 53 14 pm

This formatting isn't present in Gutenberg (or in the classic block) but is an important part of link validation.

Currently the Format API/Rich Text implementation doesn't support a way to indicate errors in formatting on the editor side only, this is tracked in #11484. Once that's solved, the red border should be implemented in Gutenberg.