Skip to content

[selectors-4] Case-insensitive health warning #13645

Description

@aphillips

Case Sensitivity
https://www.w3.org/TR/2026/WD-selectors-4-20260122/#attribute-case

To match attribute values ASCII case-insensitively regardless of document language rules, the attribute selector may include the identifier i before the closing bracket (]). When this flag is present, UAs must match the attribute’s value ASCII case-insensitively (i.e. [a-z] and [A-Z] are considered equivalent).

Alternately, the attribute selector may include the identifier s before the closing bracket (]); in this case the UA must match the value case-sensitively, with “identical to” semantics [INFRA], regardless of document language rules.

The text about case insensitive (ASCII case fold) matching probably should have some sort of prominent health warning so that users understand this is only an ASCII case fold.

Activity

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

    Closed Accepted as EditorialNo substantive change.Commenter SatisfiedCommenter has indicated satisfaction with the resolution / edits.i18n-needs-resolutionIssue the Internationalization Group has raised and looks for a response on.selectors-4Current Work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions