Skip to content

Commit 7a3a558

Browse files
authored
Calendar keyboard navigation, focus radiogroup and focus indicator for accordion (#43)
* fix accordion focus and calendar keyboard navigation * fix radio group focus * fix clippy
1 parent 3407175 commit 7a3a558

File tree

3 files changed

+249
-50
lines changed

3 files changed

+249
-50
lines changed

preview/src/components/accordion/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
}
1717

1818
.accordion-trigger:focus-visible {
19-
box-shadow: 0 0 0 2px var(--focused-border-color);
19+
box-shadow: inset 0 0 0 2px var(--focused-border-color);
20+
border: none;
2021
}
2122

2223
.accordion-trigger:hover {
@@ -56,6 +57,7 @@
5657
.accordion-item {
5758
margin-top: 1px;
5859
border-bottom: 1px solid var(--dim-border-color);
60+
box-sizing: border-box;
5961
overflow: hidden;
6062
}
6163

0 commit comments

Comments
 (0)