Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CSS interactivity feature #2656

Merged
merged 6 commits into from
Feb 26, 2025
Merged

Conversation

flackr
Copy link
Contributor

@flackr flackr commented Feb 14, 2025

No description provided.

@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label Feb 14, 2025
@@ -0,0 +1,3 @@
name: interactivity
description: The CSS `interactivity` property specifies whether an element and its descendants are inert or not.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: The CSS `interactivity` property specifies whether an element and its descendants are inert or not.
description: The CSS `interactivity` property makes an element and its descendants inert, like when using the `inert` HTML attribute. Inert elements can't be focused or clicked, their text can't be selected or found using the browser's find-in-page feature.

I thought it'd be good to give more details about what inert means, and to mention the related html attribute as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the more detailed suggestion @jamesnw suggested.

Co-authored-by: James Stuckey Weber <jamesnw@gmail.com>
Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small suggestions in line comments. This also needs a dist file (via npm run dist) to get merged.

This looks near enough to having an implementation tracked in BCD (if https://chromestatus.com/feature/5107436833472512 is to be believed) that we don't really have to wait on this, once it's merge-able.

flackr and others added 2 commits February 22, 2025 00:00
Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
@ddbeck ddbeck enabled auto-merge (squash) February 26, 2025 09:47
@ddbeck ddbeck merged commit 6124054 into web-platform-dx:main Feb 26, 2025
3 checks passed
@ddbeck ddbeck changed the title Add CSS interactivity feature. Add CSS interactivity feature Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature definition Creating or defining new features or groups of features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants