“Close button” best practices
See #20 HTMHell special: close buttons for more details.
Pattern 1: A button with visible text and no icon.
Pattern 2: A button with visible text and only visually accessible icon.
Pattern 3: A button with hidden text and only visually accessible icon
Pattern 4: A button with hidden text and only visually accessible icon