Postponed on #3023311: Modal dialog style update
Problem/Motivation
In #3023311: Modal dialog style update it was pointed out that the high contrast mode close button "icon" is not completely centered ("icon" in quotes as high contrast mode does not load CSS background images)

Proposed resolution
The "icon" is actually borders from ::before and ::after pseudoselectors. Potential solutions are
- Finessing the styling so it is fully centered.
- Find another approach to creating a high-contrast compatible icon that is easier to center
- Change the hover/focus effect so the lack of centering is less apparent. High contrast mode is already a significantly different experience, so a change to hover/focus styling is probably acceptable.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | Screenshot 2024-04-29 at 9.57.56 AM.png | 50.71 KB | gauravvvv |
| #12 | 3137015-nr-bot.txt | 150 bytes | needs-review-queue-bot |
| #10 | 3137015-10.png | 540.44 KB | javi-er |
Issue fork drupal-3137015
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3137015-in-high-contrast
changes, plain diff MR !2371
Comments
Comment #6
quietone commentedThis is no longer postponed.
Comment #9
javi-er commentedComment #10
javi-er commentedI adjusted the close icon before and after position to better align it, see screenshot below:
Comment #12
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #14
gauravvvv commentedThis issue is no longer reproducible, as the approach for high contrast has been changed and the icon seems to be aligned perfectly with the new approach. Attached screenshot for reference.