Media: Improve inactive view switcher link contrast - #13464
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |

This PR changes the inactive Media Library view switcher icon color from
#c3c4c7to#757575.The updated color increases the contrast ratio against the white background from
1.74:1to approximately4.61:1, making the inactive but functional view switcher easier to identify.Trac ticket: https://core.trac.wordpress.org/ticket/66081
Testing instructions
#757575.Checks performed
npm run grunt -- precommit:cssnpm run build:devBoth commands completed successfully.
Use of AI Tools
AI assistance: Yes
Tool(s): ChatGPT Codex
Model(s): GPT-5
Used for: Identifying the relevant CSS selector and providing testing and contribution workflow guidance. The final change and command results were reviewed by me.