Problem/Motivation

The work here builds heavily on the discussion and work in #2848507: Indicate that grouping elements have child element errors for ux and a11y, so contributors to that issue should get credit in this one if they don't there.

Child elements in grouping elements like details and vertical tabs are invisible to the user when the grouping element is closed or not-active, respectively.

To improve the user experience and accessibility we should indicate when there are errors 'inside'.
Currently it is hard for the user to find the actual problematic field when the (child) field itself is invisible.

The forms sidebar has a similar problem: #3619387: Indicate on forms sidebar toggle button that sidebar has child element errors.

Steps to reproduce

  1. In settings.php, set $settings['extension_discovery_scan_tests'] = TRUE.
  2. Enable the core form_test module (drush en -y form_test).
  3. Install the article test recipe (drush recipe core/tests/fixtures/recipes/article_content_type) or create an Article content type.
  4. If necessary, set both the default and admin theme to Default Admin. Should not be necessary with this MR.
    (drush cset -y system.theme default default_admin && drush cset -y system.theme admin default_admin).
  5. For "standard" details elements:
    1. Go to /form_test/details-contains-required-fields.
    2. Click the Submit button.
    3. Close one of the details elements for comparison.
  6. For "accordion" style details elements on the node edit form:
    1. Go to /node/add/article.
    2. If the form sidebar on the right is closed, click the toggle button to open it.
    3. Enter a value without a beginning slash in the URL alias field.
    4. Click the Save button.
      This should cause a validation error: "The alias path has to start with a slash".
    5. Open the sidebar to see the invalid URL alias field.
  7. For vertical tabs:
    1. Widen your viewport to at least 650px.
    2. Go to /admin/config/people/accounts.
    3. Within one or more tabs for the Emails configuration at the bottom of the form, remove the value for the required Subject field.
    4. Click the Save button.
    5. Click a tab which does not have an error to activate it.

For RTL, either:

  • manually change the dir attribute on the html tag to rtl in the browser inspector / devtools, OR
    1. Enable the Locale module (drush en -y locale).
    2. Add Hebrew as a language (/admin/config/regional/language/add).
    3. Repeat the above steps on the Hebrew version of the pages (prepend /he to the paths).

Proposed resolution

Based on discussion and work in #2848507: Indicate that grouping elements have child element errors for ux and a11y, and UX review of this MR:

  1. Add a thick red solid border on one side of the grouping items that contain child errors.
  2. Border width:
    var(--vertical-tabs-menu-link--active-border-size) + 2px,
    so that it is distinguishable from var(--vertical-tabs-menu-link--active-border-size).
  3. Border position:
    Logical inline start of details element or vertical tab "menu item".
  4. Border radius:
    Match the radius of the element to which the border is applied.
  5. Add the error icon from the page-top error block to grouping elements.
  6. Icon position:
    • Vertical: Vertically-centered with the first line of the element's visible label.
    • Horizontal: close to the logical inline end of the element's visible label.
  7. Use red text color for the element's visible label.
  8. Details elements:
    Surround the entire details element with a 1px solid red border.
  9. Use the input error color for the red border / red text (var(--input--error-color)).
  10. Vertical tabs:
    Use the input border color for the border of the active tab to so that it's clear when a tab with errors is also active.
  11. Append visually-hidden " (child error)" to the element's visible label.
  12. Add the attribute data-child-error-count to the details element.
    Because vertical tabs are progressively-enhanced details elements, the attribute will exist on the corresponding details element but not on the vertical tabs menu item (the li element).
    The value of the attribute should be an integer corresponding to the number of invalid children.
  13. For the error border color in forced-colors mode, use canvasText (#47).
  14. For the icon in forced-colors mode, use the mask-image property and canvasText background color.
    The UX team members and @mgifford brought up various forced-colors problems with vertical tabs, but they're out of scope. They were approved by the UX team and @mgifford to be followups.
    KentR made a note in #3081500-76: Accessibility bugs with vertical tabs.

Remaining tasks

  1. Adapt work from #2848507: Indicate that grouping elements have child element errors for ux and a11y to Default Admin.
  2. Create merge request.
  3. Usability review.
  4. Forced colors mode for icon.
  5. Fix details error border position for RTL.
  6. Manually test LTR, RTL, forced colors, and presence of hidden text for the following:
    1. Standard style details.
    2. Accordion style details (such as in advanced sidebar on node edit form).
    3. Vertical tabs on wider viewport (>= 650px). On narrow viewports they fall back to accordion style details.
  7. Create change record.

User interface changes

  • Visually, the grouping elements will indicate that there are errors inside.
  • There will be a visually-hidden "(contains error)" appended to the summary or vertical tabs title for screen reader users.

Screenshots

Full color mode
LTR (left-to-right)

Scenario 1: Standard details (/form_test/details-contains-required-fields)

Light mode:

Details element containing child errors is open

Dark mode:

Details element containing child errors is open

Scenario 2: Accordion style details (node edit form)

Light mode:

Details element containing child errors is open

Dark mode:

Details element containing child errors is open

Scenario 3: Vertical tabs (/admin/config/people/accounts)

Light mode:

Tab containing child errors is active.

Dark mode:

Tab containing child errors is active.

RTL (right-to-left)

Scenario 1: Standard details (/he/form_test/details-contains-required-fields)

screenshot submit closes a details with errors

Scenario 2: Accordion style details (node edit form)

URL alias without leading slash, Save, close "URL alias" details. Error indicator visible, no false positives on sibling details.

sceenshot url alias without leading slash

Scenario 3: Vertical tabs (/he/admin/config/people/accounts)

screenshot inactive error tab

Forced-colors mode
LTR (left-to-right)

Scenario 1: Standard details (/form_test/details-contains-required-fields)

Scenario 2: Accordion style details (node edit form)

Scenario 3: Vertical tabs (/admin/config/people/accounts)

RTL (right-to-left)

Scenario 1: Standard details (/he/form_test/details-contains-required-fields)

screenshot forced-colors mode renderring icon on details

Scenario 2: Accordion style details (node edit form)

screenshot forced-colors mode renderring icon on details

Scenario 3: Vertical tabs (/admin/config/people/accounts)

screenshot vertical tab forced-colors renderring icon

Introduced terminology

API changes

Data model changes

Release notes snippet

CommentFileSizeAuthor
#54 3604037-54-default-admin-standard-details-ltr.dark_.png49.82 KBkentr
#54 3604037-54-default-admin-vertical-tabs-ltr.dark_.png144.27 KBkentr
#54 3604037-54-default-admin-accordion-details-ltr.dark_.png97.37 KBkentr
#52 border_missing.jpg40.87 KBrkoller
#51 3604037-51-default-admin-vertical-tabs-rtl.forced-colors.png134.66 KBkentr
#51 3604037-51-default-admin-vertical-tabs-ltr.forced-colors.png137.74 KBkentr
#45 active.jpg75.14 KBrkoller
#45 none_active.jpg89.77 KBrkoller
#44 scenario3-account_blocked-active.jpg94.41 KBrkoller
#44 scenario3-welcome_awaiting_approval-active.jpg129.47 KBrkoller
#44 scenario3-no_errors.jpg145.44 KBrkoller
#44 scenario2.jpg173.9 KBrkoller
#44 scenario1.jpg104.75 KBrkoller
#40 3604037-40-default-admin-standard-details-rtl.forced-colors.png50.47 KBkentr
#38 3604037-38-default-admin-vertical-tabs-rtl.forced-colors.png127.79 KBkentr
#38 3604037-38-default-admin-accordion-details-rtl.forced-colors.png82.17 KBkentr
#38 3604037-38-default-admin-vertical-tabs-ltr.forced-colors.png131.6 KBkentr
#38 3604037-38-default-admin-accordion-details-ltr.forced-colors.png90.19 KBkentr
#38 3604037-38-default-admin-standard-details-ltr.forced-colors.png50.67 KBkentr
#38 3604037-38-default-admin-accordion-details-rtl.png85.89 KBkentr
#38 3604037-38-default-admin-vertical-tabs-rtl.png138.49 KBkentr
#38 3604037-38-default-admin-standard-details-rtl.png54.63 KBkentr
#32 3604037-32-default-admin-standard-details-ltr.png55.08 KBkentr
#32 3604037-32-default-admin-vertical-tabs-ltr.png139.76 KBkentr
#32 3604037-32-default-admin-accordion-details-ltr.png99.17 KBkentr
#29 3604037-29-error-color-contrast.png13.63 KBkentr
#21 3604037-21-error-border-hidden-by-summary-background.png52.48 KBkentr
#21 3604037-21-before-after-accordion-details-regular-dark.png111.02 KBkentr
#21 3604037-21-before-after-accordion-details-regular-light.png128.37 KBkentr
#21 3604037-21-before-after-accordion-details-node-edit-dark.png110.2 KBkentr
#21 3604037-21-before-after-accordion-details-node-edit-light.png123.74 KBkentr
#21 3604037-21-before-after-standard-details-dark.png73.58 KBkentr
#21 3604037-21-before-after-standard-details-light.png85.51 KBkentr
#12 issue-3604037-review.zip75.08 KBmgifford

Issue fork drupal-3604037

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kentr created an issue. See original summary.

kentr’s picture

Title: [PP-1] Indicate that grouping elements have child element errors for ux and a11y » [PP-2] Indicate that grouping elements have child element errors for ux and a11y
Issue summary: View changes

This might be do-able now that #3599680: Consolidate, merge, and refactor Gin's CSS variable's into Admin theme's original variables. has landed.

However, it should now wait on #2848507: Indicate that grouping elements have child element errors for ux and a11y, because that work might be usable here with only slight modifications and it will likely need UX input that will also apply to Default Admin.

kentr’s picture

because that work might be usable here with only slight modifications and it will likely need UX input that will also apply to Default Admin.

Err, and also because there are changes outside of the theme.

kentr’s picture

Title: [PP-2] Indicate that grouping elements have child element errors for ux and a11y » [PP-3] Indicate that grouping elements have child element errors for ux and a11y
Issue tags: +Usability
Related issues: +#2859914: Misleading Icon used on form validation errors
kentr’s picture

Title: [PP-3] Indicate that grouping elements have child element errors for ux and a11y » [PP-1] Indicate that grouping elements have child element errors for ux and a11y
Issue summary: View changes

It was decided that #2859914: Misleading Icon used on form validation errors isn't a blocker for #2848507: Indicate that grouping elements have child element errors for ux and a11y after all.

@mherchel said in Slack most of the big CSS refactor for Default Admin is complete.

Most of the large CSS refactoring issues are in, which means its time to take stock of what's still broken

AFAICT, #2848507: Indicate that grouping elements have child element errors for ux and a11y is very close. It might need some code tweaks, but I'm willing to take a gamble that we can start on this in parallel.

I'll work on porting the work in #2848507: Indicate that grouping elements have child element errors for ux and a11y to Default Admin. Once that issue is in, then this will be more easily testable by others.

kentr’s picture

Title: [PP-1] Indicate that grouping elements have child element errors for ux and a11y » [PP-1] Indicate that grouping elements have child element errors for ux and a11y, Default Admin
quietone’s picture

Title: [PP-1] Indicate that grouping elements have child element errors for ux and a11y, Default Admin » [PP-1] Indicate that grouping elements have child element errors for UX and a11y
Issue summary: View changes

Adding what this is postponed on to the remaining tasks per Remining tasks.

kentr’s picture

Issue summary: View changes
kentr’s picture

Issue summary: View changes
kentr’s picture

Issue summary: View changes
mgifford’s picture

StatusFileSize
new75.08 KB

Probably the most useful thing in this AI generated .zip is the replicate_grouping_child_errors recipe. Yes, there's a patch and more than one readme. This is all postponed on other issues, so perhaps scanning over this patch might be useful to help build a more solid one. There are also Guidepup instructions (and a diff) to help with tracking the emulation of screen reader impacts before/after.

kentr’s picture

I’ve done most of the conversion from #2848507: Indicate that grouping elements have child element errors for ux and a11y in the issue fork.

I paused to see what came out of the code review that needed to be carried over.

I didn’t create an MR because I wanted to avoid using CI minutes until it’s ready for review. Sadly, even draft MR‘s run pipelines.

kentr’s picture

Issue summary: View changes
kentr’s picture

Issue summary: View changes
kentr’s picture

Status: Active » Postponed

It's probably confusing that the status isn't Postponed...

kentr’s picture

Issue summary: View changes
Issue tags: +Needs usability review

I copied non-Claro changes from #2848507: Indicate that grouping elements have child element errors for ux and a11y because:

If #2848507: Indicate that grouping elements have child element errors for ux and a11y lands first, the corresponding commit in this issue can be reverted in the case of merge conflicts.

I'm tagging for UX review, but I'm leaving it as postponed on #2848507: Indicate that grouping elements have child element errors for ux and a11y because it's not ready for general review and the path forward is TBD.

kentr’s picture

Issue summary: View changes
Issue tags: +11.5.0 release priority
kentr’s picture

I noticed a couple of janky things that I'll fix:

  • Vertical positioning of icon in the standard details version. I messed that up trying to fix something else but missed it when I tested the change.
  • The red error border for details slices through the focus indicator on the summary.
kentr’s picture

I fixed:

  • the icon vertical alignment,
  • the janky error border slicing through the focus outline.

The fix for the latter puts the red error border below the focus outline (in the Z-plane), which also affects the version where the red border completely covered that part of the focus outline (the version labeled "accordion style details element on node edit form" below).

Before / after screenshots

Standard details element:

Before & after of standard details element in light mode

Before & after of standard details element in dark mode

Accordion style details element on node edit form:

Before & after of accordion details element on node edit form in light mode

Before & after of accordion details element on node edit form in dark mode

Regular accordion style details, such as for vertical tabs on narrow viewport:

Before & after of regular accordion details element in light mode

Before & after of regular accordion details element in dark mode

kentr’s picture

Issue summary: View changes
kentr’s picture

Note regarding focus indicator in the #21 screenshots: the focus indicator will change in #3618140: Improve the accessibility of focus outlines.

kentr’s picture

Title: [PP-1] Indicate that grouping elements have child element errors for UX and a11y » Indicate that grouping elements have child element errors for UX and a11y
Assigned: Unassigned » kentr
Issue summary: View changes
Status: Postponed » Needs work

No longer postponed on #2848507: Indicate that grouping elements have child element errors for ux and a11y. I've copied the non-theme changes from that issue to here.

The UX team looked at this in #3620853: Drupal Usability Meeting 2026-09-11. Recording: https://www.youtube.com/watch?v=2eIvoRG3GNE

I'll watch the recording to see if anything needs to be adjusted.

kentr’s picture

Issue summary: View changes
Issue tags: -Needs usability review

Not an official summary, but the usability team discussed this issue in #3620853: Drupal Usability Meeting 2026-09-11.

The attendees at the usability meeting were:

  • @benjifisher
  • @mgifford
  • @rkoller
  • @the_g_bomb
  • @simohell

AFAICT from the meeting recording the only concerns with the MR were these:

  1. The icon vertical alignment (fixed).
  2. Inconsistencies with the way the focus indicator is handled for the different cases. On standard details elements, the focus indicator is outside (larger than) the summary, but on the vertical tabs controls and accordion style details the focus indicator is inset to the summary.
  3. Various forced-colors problems.

They were OK'd as followups.

IMO, fixing the focus indicator is out of scope because the underlying problem already exists on main. This MR just makes it more obvious.

It looks to me like the forced-colors problems need a big picture discussion.

I'm removing Needs usability review because that did occur.

[edited to add a link to the meeting issue and a list of attendees, at the recommendation of per @rkoller]

kentr’s picture

Assigned: kentr » Unassigned
kentr’s picture

Issue summary: View changes
smustgrave’s picture

Testing color contrast for this one and it does fail AAA contrast with 1.4.6

Dark module this failures universally at all levels (AAA and AA).

Think we need to address those.

kentr’s picture

StatusFileSize
new13.63 KB

Thanks @smustgrave!

That's a problem in main, with the color for form "labels" in general (not specific to this MR).

Surprised we missed that... I'll create an issue for it.

Here's a screenshot of an error on the node edit form in dark mode without this MR (the error is highlighted by the Accessibility Insights extension):

kentr’s picture

Issue summary: View changes
kentr’s picture

kentr’s picture

Issue summary: View changes
kentr’s picture

Issue summary: View changes
kentr’s picture

Issue summary: View changes

Deleted.

kentr’s picture

Issue summary: View changes
kentr’s picture

Issue summary: View changes
kentr’s picture

Status: Needs work » Needs review
kentr’s picture

Actually, going to run pipeline before Needs review because I skipped it previously.

kentr’s picture

Status: Needs work » Needs review

Pipeline is green. There were unrelated random failures.

kentr’s picture

Issue tags: +no-ai

AFAIK no AI was used in this MR. Definitely not in the work I did, but AFAICT also not in the original work of #2848507: Indicate that grouping elements have child element errors for ux and a11y.

kentr’s picture

Issue tags: -no-ai +ai-ni

AI was not used intentionally, anyway.

rkoller’s picture

I've did another round of testing of the latest state of the MR. Referring to the points raised during the ux meeting @kentr summarized in #25 .

  • The vertical icon alignment looks good now! Fab, thanks!
  • In regard to the inconsistencies of the focus outline mainly in the context of the vertical tabs, i can second our conclusion from back then as well the assessement by @kentr in #25 , looking at it another time, the styling still has issue but those could be improved in a follow up. The contrasting area isnt going down to a degree in any of these scenarios that the element in focus isnt discernable anymore plus the current state of main without this MR is worse, way way worse. so a follow up is fine in this case from my point of view.
  • In regard to forced colors mode i also agree with @kentr, there a bigger picture discussion has to happen. The current state of the MR is sort of tolerable but has more significant issues compared to focus outline ones. the top border in forced colors mode of the top vertical tab is visible and solid in forced color mode while in regular mode there is no top border. while in forced color and regular mode there is no bottom border for the vertical tab at the bottom. and all borders aside those two at top and bottom, no matter if active, erroneous, or in none active state have a solid border. that way it is impossible to distinguish between active and non active state easily, while in regular mode the non active state borders are way lighter. one option to solve that could be to make the borders for non active vertical tabs dotted in forced color mode. but all that could be done in a follow up, and does not necessarily have to happen within this issue.

The only sort of more serious problem that i've noticed and dawned on me where i am not sure it could be deferred to a follow up is the following. the color for errors in scenario 1 and 2 differs from the color from scenario 3. i am well aware to communicate something just based on color is against SC1.4.1 and that is the reason why the prohibition sign was added, but still the color is a visual cue for some people and that is why that cue should also be consistent in forced color imho:

scenario 1 (error in white)
three erroneous detail elements in forced color mode

scenario 2 (error in white)
an erroneous node edit form in forced color mode with the title and the url alias field failing

scenario 3 - with no errors and the vertical tab on top active
the vertical tabs with the email settings on the account settings page in forced color mode with the welcome new user created by administrator vertical tab on top active

scenario 3 - with three erroneous vertical tabs and the Welcome (awaiting approval) vertical tab active
the vertical tabs with the email settings on the account settings page in forced color mode with the welcome new user created by administrator, admin user awaiting approval and welcome no approval required vertical tabs erroneous and the welcome awaiting approval vertical tab active

scenario 3 - with three erroneous vertical tabs and the Account blocked vertical tab active
the vertical tabs with the email settings on the account settings page in forced color mode with the welcome new user created by administrator, admin user awaiting approval and welcome no approval required vertical tabs erroneous and the account blocked vertical tab active

Based on coloring in scenario 1 and 2 the active vertical tab in scenario3-no_errors.jpg would be erroneous same as for example the active vertical tab in scenario3-account_blocked-active.jpg. in all cases the left thick border is white.

rkoller’s picture

StatusFileSize
new89.77 KB
new75.14 KB

One detail to denote I forgot to add in the previous comment and I am uncertain if we touched that topic before. But in dark mode the red used for none text elements is the same red used for the labels of those erroneous elements. Problem is, the color contrast against both possible background colors in dark mode is each time < 4.5:1... And then there is also the problem that the default admin theme provides a red accent color which is quite close to the one for the error illustrated in both screenshots (the colors were only taken with the color picker).

The background for any non active erroneous vertical tab has a color contrast of 3.37:1 against its label
1

The background for any active erroneous vertical tab has a color contrast of 4.48:1 against its label
1

Update:
In light mode the accent color collides even more with the red of the error color, making the two hardly distinguishable.

kentr’s picture

Thanks @rkoller!

The red error color low contrast should be fixed by #3625458: Form error text in dark mode has low contrast.

I don't know how to solve the problem with the red accent color, though. I think that would already exist in main. This MR uses the pre-defined error color.

The only sort of more serious problem that i've noticed and dawned on me where i am not sure it could be deferred to a follow up is the following. the color for errors in scenario 1 and 2 differs from the color from scenario 3. i am well aware to communicate something just based on color is against SC1.4.1 and that is the reason why the prohibition sign was added, but still the color is a visual cue for some people and that is why that cue should also be consistent in forced color imho:

I think the underlying problem is that there's not a system color for errors.

For vertical tabs, the border is on the a element, so it gets that semantic color (Edge page colors gives a more complete picture):

But for details, the border is on the details and not the summary, so it gets just the standard white:

And in both, the border on the invalid field is yellow and the label is white.

We probably need to figure out a way to color errors in forced colors in general (if it's possible).

For this issue, we could make the border CanvasText for vertical tabs to match the border on details. But I was thinking that the icon should probably have the same semantic color as the element that it's attached to (whether it's a button, a link, a summary, etc).

rkoller’s picture

I don't know how to solve the problem with the red accent color, though. I think that would already exist in main. This MR uses the pre-defined error color.

one option might be to simply drop the red accent color from the default admin theme. having an accent color that is that close to the color the theme uses for errors i consider inherently problematic (https://www.whocanuse.com/?bg=bb4d42&fg=c43336&fs=16&fw=). :/

I think the underlying problem is that there's not a system color for errors.

yep i know and i agree to. i've just raised that detail because having the same state with different colors on different pages is problematic. so having a "crude hack" to unify them for the time being until a consensus is reached for a proper fix was what i was implying - something like the CanvasText system color for vertical tabs what you suggested. for the "crude fix" it shouldnt have to make semantic sense but rather just accomplish consistency?

and about a system color for errors, ive already searched in online resources a while ago if there is some sort of documentation or best practice in that regard but i had no luck finding anything yet. will see maybe it would be possible to contact someone at the microsoft edge team or somehow related to pick their brains on that question. and again it would be super helpful if there would be some sort of best practice demo where you are able to see which system color is being used in which context best.

kentr’s picture

Status: Needs review » Needs work

one option might be to simply drop the red accent color from the default admin theme. having an accent color that is that close to the color the theme uses for errors i consider inherently problematic

Yeah, I thought of that also but didn't think it would be well-received :-). It's worth pursuing, though.

It might be helpful if you comment in #3625458: Form error text in dark mode has low contrast, because the color I used is a slightly lighter red that's probably even closer to the red accent color (based on just looking at your screenshot).

i've just raised that detail because having the same state with different colors on different pages is problematic. so having a "crude hack" to unify them for the time being until a consensus is reached for a proper fix was what i was implying - something like the CanvasText system color for vertical tabs what you suggested. for the "crude fix" it shouldnt have to make semantic sense but rather just accomplish consistency?

Sounds good. I'll change it.

kentr’s picture

about a system color for errors, ive already searched in online resources a while ago if there is some sort of documentation or best practice in that regard but i had no luck finding anything yet.

I didn't find anything either.

will see maybe it would be possible to contact someone at the microsoft edge team or somehow related to pick their brains on that question.

That would be awesome! 💪

rkoller’s picture

Yeah, I thought of that also but didn't think it would be well-received :-). It's worth pursuing, though

haha yep that might be the case but keeping it in as is might also not be the right choice. :( we will see how things turn out.

It might be helpful if you comment in #3625458: Form error text in dark mode has low contrast, because the color I used is a slightly lighter red that's probably even closer to the red accent color (based on just looking at your screenshot).

left a brief comment

kentr’s picture

Issue summary: View changes
Status: Needs work » Needs review
StatusFileSize
new137.74 KB
new134.66 KB

I changed the vertical tabs forced-colors error-border color to canvasText per #47.

These screenshots are now in the issue summary. I also updated the proposed resolution to match.

screenshot vertical tab forced-colors rendering icon, left-to-right

screenshot vertical tab forced-colors rendering icon, right-to-left

rkoller’s picture

StatusFileSize
new40.87 KB

i've found one regression. in dark mode on node edit forms in the advanced sidebar erroneous detail elements are missing a red top and bottom border. i've first noticed in edge and can confirm it in safari. in light mode both borders are in place.

the advanced sidebar in a node edit form with the url alias detail expanded and erroneous aside that only the top part of authoring information is visible plus a blue vertical border the dragable element of the sidebar for the desktop viewport

aside that everything looks fab. ive also checked the changes in forced color mode in edge. now all three scenarios have the same color. even tough it makes now distinguishing active and erroneous vertical tabs tough - the prohibition sign is the sole visual cue, but the inconsistency inbetween the scenarios was way worse in comparison.

so with the borders in dark mode on node edit forms fixed i would vote for RTBC the issue. and while waiting for review i would also vote as ive already written on slack to create one or two follow ups for forced color mode. one for adding dotted top and bottom border lines for none active vertical tabs and ensure the vertical tab on top show a top border in regular and forced color mode and the vertical tab on the bottom the bottom border is shown in regular and forced color mode as well. and a separate issue to figure out a solution for the system color to use for errors. and probably another issue for dealing with the case a user chose red as their accent color.

rkoller’s picture

Status: Needs review » Needs work
kentr’s picture

I fixed the border on the dark mode node edit form details and added LTR dark mode screenshots to the IS.

Details in node edit form sidebar with error. The element containing child errors is open.

rkoller’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

I've retested the latest state of the MR in light and dark mode in RTL and LTR, and also rechecked forced color mode and reassured that the color for the error state is consistent across all three scenarios. Looks all good now as well as the issue summary is in proper shape, thanks to @kentr's effort! Setting it to RTBC.

There are three details we've agreed on to discuss and/or solve in follow-ups:

mgifford’s picture

Would be good to link the follow-up items here when they are created @rkoller

Much appreciate the review.

rkoller’s picture

yes that was the plan anyway. but created all three issues already now and updated #55 accordingly.