Skip to content

[Accessibility] Alternative display style for editor.document_highlight.read_background #16380

Description

@thataboy

Check for existing issues

  • Completed

Describe the feature

AFAIK, the only way to change appearance of dynamic bracket highlighting is with editor.document_highlight.read_background. This value is very dim by default in most themes, but regardless, changing the background color of a single character does not make it stand out very much. You don't want to go overboard since making it too bright only reduce contrast. Plus this color is also used to highlight words matching the one under the cursor and it would get too distracting.

Screenshot 2024-08-14 at 9 12 32 AM

I request another option to using the background color for this purpose, such as combination of different foreground color, style, and/or drawing a line beneath. Sublimetext does all of that as shown here

Screenshot 2024-08-14 at 9 13 17 AM

This is very clear and also looks nice (IMO). Obviously people with better eyes than mine will choose less bright colors, but I think this is an accessibility feature that will benefit everyone

If applicable, add mockups / screenshots to help present your vision of the feature

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:accessibilityColor contrast, screen reader support, keyboard navigation, etcarea:design papercutSmall visual defectsarea:ui/fontFont feedback for readability, size, style, etcarea:ui/themesFeedback for theme configuration, accessibility, visual issues, etcfeatureDEPRECATED label: use issue type 'Feature' instead

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions