Skip to content

[Range] Clarifying the propagation of the disabled attribute #1338

@brechtDR

Description

@brechtDR

The <rangegroup> is modeled after the grouping behavior of <fieldset> and <legend> for accessibility and structure. This parallel makes the behavior of the disabled attribute critical, especially for form submission and progressive enhancement.

Specific Questions Raised by Feedback:

Group Disabling: If the disabled attribute is applied to the <rangegroup> (e.g., <rangegroup disabled>), does it cascade to and disable all contained <input type="range"> handles? Should the <rangegroup? allow a disabled attribute to begin with?

If yes on group disabling:

  1. Granular Control: Can individual handles maintain a disabled state while the parent remains active?
  2. State Persistence: If the entire group is disabled and later re-enabled, should individual handles that were previously disabled retain their initial disabled state, as is standard behavior for other HTML form elements?

We need some clear specifications for the behavior of the disabled attribute on both the parent <rangegroup>(optional) and its child elements, ensuring that the defined propagation rules support the intended progressive enhancement fallback and consistent state management.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions