Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300130

Focus styling of WYSIWYG field inputs should be consistient with other intpus

$
0
0

Problem/Motivation

Standard behavior for text-receiving inputs is a green text ring on focus. While focused, these inputs should still respond to hover in the same manner: a darker and slightly larger border.
The current WYSIWYG field inputs behavior is to change the border color to blue on focus, and no visual change is provided for hover when this blue border is present. This should be addressed as it provides both consistency and better accessibility.

Current focus effect
WYSIWYG current

Proposed resolution

Remove the current blue border change on focus.
Add the green focus ring and do so in a way that preserves hover behavior even while focused in the style guide.

Mockups / Specifications

Example

WYSIWYG figma solution

Note that red border on error should remain visible even if the focus ring is present, the focus ring should surround this.

Screenshots

After
Pictured: error@focus, focus, hover, default
After patch applied screenshot

Remaining tasks

User interface changes

CKEditor field inputs will have the same focus and hover styling that other text inputs have.


Viewing all articles
Browse latest Browse all 300130

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>