tinymce / tinymce/tinymce

Luminosity ratio for focus Indicator of 'File' button is 1.3:1, which is less than 3:1.

Open
#8,906 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component: accessibility
Dominant language
TypeScript
Stars
16.3k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

What is the current behavior? Describe the bug
The luminosity ratio of the focus indicator of the 'File' button present in toolbar is 1.3:1 which is less than 3:1

Please provide the steps to reproduce and if possible a minimal demo of the problem via fiddle.tiny.cloud or similar.

  1. Open URL: https://codepen.io/Roopesh-T/pen/ZEmbPBK
  2. Navigate to 'Text edit field'.
  3. Navigate to tool bar present above 'Text edit field' using alt + F10 key
  4. Navigate to 'File' button.
  5. Turn on color contrast analyser tool.
  6. Verify whether luminosity ratio of focus indicator for 'File' button is more than 3:1 or not.

What is the expected behavior?
The luminosity ratio of focus indicator for 'File' button should be more than 3:1.

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the focus indicator issue using the linked CodePen, then trace the toolbar's File button styles in the TinyMCE frontend. Verify the focus indicator with a color contrast analyzer; done means its luminosity ratio exceeds 3:1.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.