Skip to content

Consider not using opacity for any text content #3313

Open
@babakfp

Description

@babakfp

Describe the bug

Screenshot 2023-12-09 064902

Open the image in a new page and zoom in, you will see the transparency causes the overlaying lines of the letters to be visible and this makes things to look ugly.on

Reproduction

  1. You can use this font to test things out: https://fonts.google.com/specimen/Vazirmatn
  2. Change the font-family to this ^^^ font.
  3. Change to dark mode.
  4. Use this text: اعتبارسنجی اسکیما تایپ‌اسکریپت-اول
  5. Zoom and you can see it too.

Expected behavior

So the overlaying paths/lines are not visible.

System Info

.

Additional context

I think this doesn't happen with all Farsi/Persian fonts, but it's something that happens very often.

The only solution is to not use opacity with text content.

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11yRelated to accessibilitystalethemeRelated to the theme

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions