Skip to content

Commit 2edd487

Browse files
committed
Allow to navigate settings with the keyboard
1 parent 10b8928 commit 2edd487

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/settings.html.twig

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,14 @@
123123
margin: 0;
124124
}
125125
.modal-content .settings-group label input {
126-
display: none;
126+
position: absolute;
127+
clip: rect(0, 0, 0, 0);
128+
pointer-events: none;
129+
opacity: 0;
130+
}
131+
.modal-content .settings-group:has(input:focus-visible) {
132+
outline: 2px dotted var(--settings-option-active-border-color);
133+
outline-offset: 2px;
127134
}
128135
.modal-content .settings-group label input:checked + p {
129136
box-shadow: inset 0 0 0 2px var(--settings-option-active-border-color);

0 commit comments

Comments
 (0)