Issue Task Closed

#92665Elements in the modal dialog have insufficient focus style

Mylene Kreiger 10/22/20, 10:51 updated 03/17/25, 21:31

Description

The elements in the modal dialog use the standard browser outline, which gets overlaid from the icons and crops the text, see screenshots. The close-button has opacity set to .5, so the contrast is very low.

.modal .close {
  opacity: .5;
}

:focus {
  outline: -webkit-focus-ring-color auto 1px;
}
Recommendation:
  • Use an individual focus style to avoid overlays
  • Set close-button to opacity 1

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.