.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

body {
  padding: 20px;
}

fieldset {
  border: 0;
  padding: 4px;
}

.carousel:focus-within .control label {
  background-color: yellow;
}

.carousel {
  padding-bottom: 50px;
  margin-bottom: 20px;
  position: relative;
}

.controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 8px 0 10px 0;
}

.control {
  display: inline-block;
}
.control label,
.control button {
  height: 24px;
  margin: 0 8px;
  border: 1px solid black;
  background-color: lightgray;
  vertical-align: middle;
}
.control label {
  width: 24px;
  margin: 0 4px;
  border-radius: 50%;
  display: inline-block;
}

input[type="radio"]:checked + label {
  background-color: black !important;
}

button:focus,
a:focus,
input:focus,
input[type="radio"]:focus + label {
  outline: 2px dotted red;
  outline-offset: 2px;
}

input[type="radio"] + label:hover {
  cursor: pointer;
}

.panel {
  border: 1px solid;
  background-color: lightyellow;
  padding: 0 0 0 10px;
}

button[aria-pressed="true"] {
  font-weight: bold;
}
