Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests(many): add tests for color contrast for button components #28656

Merged
merged 13 commits into from
Dec 12, 2023

Conversation

mapsandapps
Copy link
Contributor

@mapsandapps mapsandapps commented Dec 6, 2023

Issue number: Internal


What is the current behavior?

Uses of ion-color() in Button, Back Button, FAB, Menu Button, Item Option, and Segment do not have tests for color contrast.

What is the new behavior?

  • Uses of ion-color() in Button, Back Button, FAB, Menu Button, Item Option, and Segment have tests for color contrast for both light and dark themes.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions bot added the package: core @ionic/core package label Dec 6, 2023
@mapsandapps mapsandapps marked this pull request as ready for review December 7, 2023 22:12
Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

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

Good to go on my end once comments are addressed.

core/src/components/button/test/a11y/button.e2e.ts Outdated Show resolved Hide resolved
core/src/components/fab-button/test/a11y/fab-button.e2e.ts Outdated Show resolved Hide resolved
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
@mapsandapps mapsandapps merged commit 4e428e5 into FW-5584 Dec 12, 2023
44 checks passed
@mapsandapps mapsandapps deleted the st/5637-button-tests branch December 12, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants