Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 5bdc062

Browse files
committed
Keep outline rule on #content but deprecate
We no longer recommend using tabindex on #content but need to keep the styles in for apps that haven’t removed the attribute.
1 parent 3b54c24 commit 5bdc062

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

assets/sass/elements/_layout.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
@include media(desktop) {
1515
padding-bottom: $gutter * 3;
1616
}
17+
18+
// DEPRECATED: Tabindex on #content
19+
// https://github.com/alphagov/govuk_elements/pull/534
20+
// We no longer recommend using tabindex on #content
21+
outline: none;
1722
}
1823

1924

0 commit comments

Comments
 (0)