<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-css-caret--properties-and-custom-caret-accessibility-vikkkvvp8" -->

---
title: The CSS caret-* properties and custom caret accessibility
description: CSS now offers caret-color, caret-shape and caret-animation properties to style the blinking text caret, but using them carries real accessibility risks. The...
canonical: https://daily.dev/posts/the-css-caret--properties-and-custom-caret-accessibility-vikkkvvp8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The CSS caret-* properties and custom caret accessibility | daily.dev
og:description: CSS now offers caret-color, caret-shape and caret-animation properties to style the blinking text caret, but using them carries real accessibility risks. The...
og:url: https://daily.dev/posts/the-css-caret--properties-and-custom-caret-accessibility-vikkkvvp8
og:image: https://api.daily.dev/og/posts/vIkkkvvP8.png
og:image:alt: The CSS caret-* properties and custom caret accessibility
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The CSS caret-* properties and custom caret accessibility

**[Sara Soueidan](https://daily.dev/sources/sarasoueidan)** · 25 min read · 8 upvotes · 0 comments

## Summary

CSS now offers caret-color, caret-shape and caret-animation properties to style the blinking text caret, but using them carries real accessibility risks. The caret serves two roles: the insertion caret in editable fields, and the navigation caret used in 'caret browsing' mode. All modern browsers apply caret-color to both carets, but caret-shape and caret-animation only affect the insertion caret and remain limited to Chromium behind a flag. Browsers also don't honor OS-level caret preferences like Windows' cursor thickness or blink rate. Custom caret-color must keep 3:1 contrast under WCAG SC 1.4.11, and the EN 301 549 standard is pushing toward requiring that user preferences for the caret not be overridden.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.sarasoueidan.com/blog/caret-styling-accessibility>

## Questions this post answers

### Does the CSS caret-color property affect the navigation caret used in caret browsing, not just the text input caret?

Yes. All modern supporting browsers apply the caret-color value to both the insertion caret in editable fields and the navigation caret used during caret browsing. This means a custom caret-color must maintain at least 3:1 contrast against every background on the page where the navigation caret can appear, not just against form field backgrounds.

_Developers styling carets with CSS can track browser support changes like this on daily.dev._

### Which browsers support the CSS caret-shape property for changing the caret to a block or underscore shape?

Support is limited to Chromium browsers behind the experimental web platform features flag. The property offers three shapes: bar (the default thin vertical line), block (a semi-transparent rectangle overlapping the next character), and underscore (a line beneath the next character). It currently applies only to the insertion caret, not the navigation caret used in caret browsing.

_Developers testing experimental CSS features track rollout status like this on daily.dev._

### What WCAG success criteria apply to a custom-styled text input caret?

Three criteria apply: SC 1.4.11 Non-Text Contrast (Level AA), requiring at least 3:1 contrast against adjacent colors if you override the default caret color; SC 2.4.7 Focus Visible (Level AA), satisfied by default browser carets; and SC 2.3.1 Three Flashes or Below Threshold (Level A) if you animate the caret, since rapid blinking in a block shape can affect zoomed users.

_Developers building accessible custom UI components check conformance requirements like these on daily.dev._

## Similar posts on daily.dev

- [Editor Improvements: Smooth Caret Animation and New Selection Behavior](https://daily.dev/posts/editor-improvements-smooth-caret-animation-and-new-selection-behavior-jun2rbbdp) · JetBrains · 4 upvotes · 0 comments
- [7 Game-Changing Web UI Features You Can Start Using Today](https://daily.dev/posts/7-game-changing-web-ui-features-you-can-start-using-today-lanxczirv) · Amit Merchant · 6 upvotes · 0 comments

---

Tags: [#css](https://daily.dev/tags/css), [#accessibility](https://daily.dev/tags/accessibility)

[View this post on daily.dev](https://daily.dev/posts/the-css-caret--properties-and-custom-caret-accessibility-vikkkvvp8)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The CSS caret-* properties and custom caret accessibility","url":"https://daily.dev/posts/the-css-caret--properties-and-custom-caret-accessibility-vikkkvvp8","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-css-caret--properties-and-custom-caret-accessibility-vikkkvvp8"},"datePublished":"2026-11-16T06:20:02.725Z","dateModified":"2026-11-16T06:30:51.695Z","description":"CSS now offers caret-color, caret-shape and caret-animation properties to style the blinking text caret, but using them carries real accessibility risks. The...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/52288571b7aa78a15db62b5cc9b2a838?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/52288571b7aa78a15db62b5cc9b2a838?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Sara Soueidan","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Sara Soueidan","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/9a1226457d234dbdb689426e6492547b","url":"https://daily.dev/sources/sarasoueidan"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-css-caret--properties-and-custom-caret-accessibility-vikkkvvp8","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":8},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css,accessibility","timeRequired":"PT25M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sara Soueidan","item":"https://daily.dev/sources/sarasoueidan"},{"@type":"ListItem","position":3,"name":"The CSS caret-* properties and custom caret accessibility"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/the-css-caret--properties-and-custom-caret-accessibility-vikkkvvp8#faq","mainEntity":[{"@type":"Question","name":"Does the CSS caret-color property affect the navigation caret used in caret browsing, not just the text input caret?","acceptedAnswer":{"@type":"Answer","text":"Yes. All modern supporting browsers apply the caret-color value to both the insertion caret in editable fields and the navigation caret used during caret browsing. This means a custom caret-color must maintain at least 3:1 contrast against every background on the page where the navigation caret can appear, not just against form field backgrounds. Developers styling carets with CSS can track browser support changes like this on daily.dev."}},{"@type":"Question","name":"Which browsers support the CSS caret-shape property for changing the caret to a block or underscore shape?","acceptedAnswer":{"@type":"Answer","text":"Support is limited to Chromium browsers behind the experimental web platform features flag. The property offers three shapes: bar (the default thin vertical line), block (a semi-transparent rectangle overlapping the next character), and underscore (a line beneath the next character). It currently applies only to the insertion caret, not the navigation caret used in caret browsing. Developers testing experimental CSS features track rollout status like this on daily.dev."}},{"@type":"Question","name":"What WCAG success criteria apply to a custom-styled text input caret?","acceptedAnswer":{"@type":"Answer","text":"Three criteria apply: SC 1.4.11 Non-Text Contrast (Level AA), requiring at least 3:1 contrast against adjacent colors if you override the default caret color; SC 2.4.7 Focus Visible (Level AA), satisfied by default browser carets; and SC 2.3.1 Three Flashes or Below Threshold (Level A) if you animate the caret, since rapid blinking in a block shape can affect zoomed users. Developers building accessible custom UI components check conformance requirements like these on daily.dev."}}]}
```

