Re:Huawei 5G kit must be removed from UK by 2027
by smichel17 on Tuesday July 14, 2020 @11:04PM
(#23840756)
Summary/details are very difficult to style. You can approximate it using some hackery with a checkbox and sibling selectors. Here's an example that I was working on recently: https://smichel17.gitlab.io/donate
Note: accessibility is still WIP, because the toggle is not selectable with the keyboard. Should be solve-able though by hiding the checkbox via different means than `display: hidden` (ie, so the checkbox is visually hidden but still keyboard-selectable).
Source is here: https://gitlab.com/smichel17/smichel17.gitlab.io/-/blob/mast...
Note: accessibility is still WIP, because the toggle is not selectable with the keyboard. Should be solve-able though by hiding the checkbox via different means than `display: hidden` (ie, so the checkbox is visually hidden but still keyboard-selectable).