Skip to content

<input type="checkbox" defaultindeterminate> #4617

Open

Description

@AtOMiCNebula

Specification

whatwg/html#6578
whatwg/html#13224

Description

Indeterminateness for checkboxes cannot be statically defined, and instead requires JavaScript to invoke the IDL attribute. This feature defines a new content attribute to allow doing so, enabling static HTML generators and server-side rendering processes to better make use of this checkbox concept.

Documentation

https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/DefaultIndeterminate/explainer.md

Browser support

No response

Activity

  1. added
    feature definition
    on Nov 10, 2026
  2. added
    early features
    feature entry request
    on Nov 16, 2026
  3. ddbeck commented on Nov 16, 2026

    @ddbeck
    Collaborator

    Thanks for filing this issue, @AtOMiCNebula. I'm going to take some notes here for when we create this feature entry. While not strictly required, your review of the notes would be welcome.

    Name, ID, and description

    The name for this feature is likely to be "defaultindeterminate" or <input type="checkbox" defaultindeterminate>. Since this is a successor to the existing input-checkbox feature, we're likely to use the feature ID input-checkbox-defaultindeterminate.

    The description, in our style, is likely to be something like this:

    The defaultindeterminate attribute for the <input type="checkbox"> HTML element sets the initial state to indeterminate. It's a declarative alternative to setting the intederminate property with JavaScript. You can use it to, for example, make indeterminate inputs with server-side rendering.

    Browser support

    This looks related to https://chromestatus.com/feature/5169777256562688. But I couldn't find anything relating to other engines. As best as I can tell, this does not have a shipped stable implementation yet, so I'm marking this as an early feature.

  4. AtOMiCNebula commented on Nov 16, 2026

    @AtOMiCNebula
    Author

    Yep, that all looks right to me! Thank you 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    early featuresfeature definitionfeature entry request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions