Yoast / yoast-components

Accessible React components by Yoast
GNU General Public License v3.0
21 stars 6 forks source link

Keyword input field has no focus style #706

Closed afercia closed 6 years ago

afercia commented 6 years ago

See https://github.com/Yoast/yoast-components/commit/52e9daeb701bc063dd87c627802471e10f0d7300

While all the fields in the meta box, for example the snippet editor ones, and the synonyms one on premium, have a proper focus style, the KeywordField has no focus style at all.

Focus indication is a basic a11y requirement, and seems it was intentionally reset with some !important CSS declarations.

Also, the hasError class won't work because the border and outline are already reset, so the color change on the border and outline won't produce any effect.w