Skip to content

fix(ui-components): styling issues in CloseButton - #51883

Merged
naomi-lgbt merged 2 commits into
freeCodeCamp:mainfrom
huyenltnguyen:fix/close-button
Oct 12, 2023
Merged

naomi-lgbt merged 2 commits into
freeCodeCamp:mainfrom
huyenltnguyen:fix/close-button

Conversation

@huyenltnguyen

Copy link
Copy Markdown
Member

Checklist:

This PR:

  • Fixes styling issues in the CloseButton component
  • Improves the implementation of the component to ensure screen readers won't announce the x symbol to the users (screen readers are currently read the button as "times button", tested with VoiceOver)

Screenshots

Before After
Light theme - at rest Screenshot 2023-10-09 at 23 05 11 Screenshot 2023-10-09 at 23 01 48
Light theme - focused Screenshot 2023-10-09 at 23 05 57 Screenshot 2023-10-09 at 23 02 12
Dark theme - at rest Screenshot 2023-10-09 at 23 05 19 Screenshot 2023-10-09 at 23 01 56
Dark theme - focused Screenshot 2023-10-09 at 23 05 34 Screenshot 2023-10-09 at 23 02 04

@github-actions github-actions Bot added the scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. label Oct 9, 2023
@ghost

ghost commented Oct 9, 2023 •

Copy link
Copy Markdown

👀 Review this PR in a CodeSee Review Map

View the CodeSee Map of this change

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@huyenltnguyen
huyenltnguyen marked this pull request as ready for review October 9, 2023 16:28
@huyenltnguyen
huyenltnguyen requested a review from a team October 9, 2023 16:28

@Sboonny Sboonny left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

image

@Sboonny Sboonny mentioned this pull request Oct 12, 2023
37 of 49 tasks
@Sboonny Sboonny added the status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. label Oct 12, 2023
@naomi-lgbt
naomi-lgbt merged commit 6b1ca70 into freeCodeCamp:main Oct 12, 2023
@huyenltnguyen
huyenltnguyen deleted the fix/close-button branch October 13, 2023 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants