Skip to content

Revise Link Control design and UX #47310

@getdave

Description

@getdave

Link Control

Let's update the Link Control design and UX to match the design provided by @jameskoster in #46891 (comment).

Quoting from @jameskoster

I’ve removed the “Create new page” flow because I think that’s better served elsewhere, but it’s easy to add back if there are strong feelings.

  • Apply / Cancel buttons provide better understanding of how to confirm or discard changes, and address some a11y issues.
  • Settings section provides a home for the options we want to add, and for third parties to extend.
  • Added a "Target" dropdown rather than having separate switches for "Open in a new tab" and "Nofollow", but separate switches could work as an interim.

How do we feel about this? Does the cog work for the settings toggle button, or should we use the Settings icon? In terms of size, I used 36px to match the Apply/Cancel buttons, but I think there's a movement towards 32px or 40px for these controls... what do you think @jasmussen?

PRs

Visual UX

a11y

Bugs introduced by the above changes

Please don't put general bugs in here. This is reserved for bugs introduce specifically by any of the changes above.

Metadata

Metadata

Labels

Needs Accessibility FeedbackNeed input from accessibility[Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions