Problem/Motivation
Pulled from #551 from @dmsmidt on May 12, 2015 at 3:40am:
Concerning #547 - # 549: The issue with checkbox/radio styling is certainly not introduced by this patch. It's already a problem (in some browsers). I discussed this with Lewis during the devdays, and it should not be addressed in this issue.
The follow ups are to my knowledge not introducing bugs to existing functionality, just tasks to make inline-form errors even better.
Concerning #542 point 3:
$form_state->setErrorByName($upload_name, t('The file could not be uploaded.'));
The $upload_name value is not correct, so there will be no error on the form element.
Can be handled in separate issue.
No visual until last child has focus:

Steps to reproduce
Proposed resolution
Remaining tasks
Is this reproducible?
Comments
Comment #2
mgiffordI'm tagging this for accessibility as it's required to get inline form errors as a fully fledged part of Core.
Comment #4
dmsmidtNew image showing the current state in 8.3.x.
Comment #5
xjmSo this has improved since release? Can we test the current state in 8.3.x and see if it meets accessibility guidelines?
Comment #6
dmsmidt@xjm last I checked in 8.3.x it was still a problem (see screenshot in #4 with IFE enabled).
Behavior: a checkbox or radio will get a red square when it gets focus.
This styling is already in D8 core and is not a regression from patches introduced for Inline Form Errors. Therefore I think that is not an accessibility gate issue for IFE. By enabling IFE these type of fields become more accessible, because the user gets the error message below the field label. By default in D8 the user has no indicator at all that the field has validation problems.
It has been discussed in the UX meeting of November 22nd and considered not a blocker for IFE.
See: https://www.youtube.com/watch?v=flpmTx0HPvE - 26th minute.
The solution discussed is removing the red square on focus and making the the text red.
Comment #7
xjmSo the screenshot in #4 is without IFE enabled? Or can we compare it to one without IFE enabled?
Comment #8
xjmBy the way, I'm fairly certain no accessibility maintainers were at that meeting, so that means it could not have had accessibility review. It's a separate signoff from usability.
Comment #9
dmsmidtReadding tag. @xjm you are correct, I'll contact them and clarify this issue later with images.
Note: if you remove the error message from the image in #4 you have the image for d8 without IFE.
Comment #10
xjm@dmsmidt, thanks! In that case I agree this is probably not a blocker for IFE's stability (unless an accessibility maintainer says it needs to). The bug does become slightly more noticeable with IFE enabled, though, so we should still include it on the roadmap as a non-blocker.
Comment #11
xjmMarking Active, since there is not a patch yet.
Comment #12
mgiffordI'm trying to think of what the accessibility implications of this might be. So far I can't think of one other than user interface inconsistencies.
There are no changes proposed for the semantic markup, right?
Comment #13
dmsmidt@mike, nope no markup changes. The idea is to just style the words behind the checkboxes red and get rid of this blurry red square.
Comment #14
mgifford+1 - that should make it much easier to see. Good stuff.
Comment #16
jaydubb181 commentedI'm looking into this.
Comment #17
jaydubb181 commentedI installed the 8.4.x-dev this morning. I'm unable to reproduce this issue in Chrome Version 55.0.2883.95 (64-bit), Safari 10.0.3, and Firefox 48.02.2 on the latest version of OSX 10.0.3.
Firefox:

Chrome:

Safari:

Comment #18
mgiffordI do think the description of this issue could use some more work.
From #13 @dmsmidt is talking "just styl[ing] the words behind the checkboxes red and get rid of this blurry red square."
We need a patch that changes the CSS so that it highlights more than just the checkbox. It needs to be more visible.
Comment #19
jaydubb181 commentedI've modified the CSS in the seven theme to take the "blurry red square" off of the checkboxes and radio buttons and to changed the color of the label text to red.
Comment #20
mgiffordCan you provide a screenshot too @jaydubb181 - Thanks!
Comment #21
jaydubb181 commented@mgifford
I've attached 2 additional screenshots.
IFE Enabled:

IFE Disabled:

Comment #22
dmsmidt@jay great work, the images look a lot better. Could you have a look the following?
We have a possible duplicate here: #222380: No error highlighting on form checkbox or radio input types. We just have to check if that one also fixes the focus styling.
Thus, postponing until we know more.
Comment #35
mgifford@dmsmidt given that #222380: No error highlighting on form checkbox or radio input types is still not fixed. Should this still sit as postponed?
Comment #36
quietone commentedThe issue in #35 has been closed as cannot reproduce, therefor setting this to active.
Comment #37
rodrigoaguileraI think this a difficult issue to figure out for a novice
I did a quick verification and it seems the radios have proper focus styling now in claro