Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/css/manage/blueprints/_form-layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,14 @@ $border-color: #c3c4c7;
// The lighter accent reaches only 3.8:1 on this background; the
// hover shade clears AA for normal text.
color: var(--cs-color-accent-hover);
outline: none;
}

// The fill alone separates the focused item from its neighbours by
// 1.26:1, so keyboard focus needs a border of its own. Drawn inside the
// item, which sits flush against the ones above and below it.
&:focus-visible {
outline: 2px solid var(--cs-color-accent-hover);
outline-offset: -2px;
}

&.is-active {
Expand Down
Loading