Currently, the default variant for Flipcard in the code is the empty variant. If a user selects and uses an image, low contrast may occur, potentially creating an accessibility issue.
Expected behavior
Set a different default value to prevent using the component with an image background without considering the contrast. In Figma, the default variant is primary, which would be a good approach to implement in the code as well.
Steps to reproduce
Technical Information
DoR
[x] Item has business value
[x] Item has been estimated by the team
[x] Item is clear and well-defined
[x] Item dependencies have been identified
DoD
[ ] Documentation has been created/updated (if applicable)
[ ] Migration Guide has been created/updated (if applicable)
Current behavior
Currently, the default variant for Flipcard in the code is the
empty
variant. If a user selects and uses an image, low contrast may occur, potentially creating an accessibility issue.Expected behavior
Set a different default value to prevent using the component with an image background without considering the contrast. In Figma, the default variant is
primary
, which would be a good approach to implement in the code as well.Steps to reproduce
Technical Information
DoR
DoD
feature
branch