Luminosity ratio for focus Indicator of 'File' button is 1.3:1, which is less than 3:1.
Nobody has claimed this yet.
- 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.
- Open URL: https://codepen.io/Roopesh-T/pen/ZEmbPBK
- Navigate to 'Text edit field'.
- Navigate to tool bar present above 'Text edit field' using alt + F10 key
- Navigate to 'File' button.
- Turn on color contrast analyser tool.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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