@markuplint/selector
Advanced tools
Comparing version 3.0.0-alpha.2 to 3.0.0-alpha.3
{ | ||
"name": "@markuplint/selector", | ||
"version": "3.0.0-alpha.2", | ||
"version": "3.0.0-alpha.3", | ||
"description": "W3C Selector and Regex selector", | ||
@@ -25,3 +25,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"devDependencies": { | ||
"@markuplint/ml-spec": "3.0.0-alpha.2", | ||
"@markuplint/ml-spec": "3.0.0-alpha.3", | ||
"@types/debug": "^4.1.7", | ||
@@ -31,3 +31,3 @@ "@types/jsdom": "16", | ||
}, | ||
"gitHead": "830bf8187b81bf5ca2f5f09b6f85a98395a58bdb" | ||
"gitHead": "884b1a6a7385e86cca7796b0b927a886ee90140e" | ||
} |
@@ -77,6 +77,7 @@ # @markuplint/selector | ||
| Selector Type | Code Example | | ||
| ---------------------- | ----------------- | | ||
| ARIA pseudo-class | `:aria(has name)` | | ||
| ARIA Role pseudo-class | `:role(heading)` | | ||
| Selector Type | Code Example | | ||
| -------------------------- | --------------------- | | ||
| ARIA pseudo-class | `:aria(has name)` | | ||
| ARIA Role pseudo-class | `:role(heading)` | | ||
| Content Model pseudo-class | `:model(interactive)` | | ||
@@ -105,2 +106,11 @@ ### ARIA pseudo-class | ||
### Content Model pseudo-class | ||
``` | ||
:model(interactive) | ||
:model(palpable) | ||
``` | ||
For example, `:role(interactive)` matches `<a>`(with `href` attr), `<button>`, and so on. | ||
## Regex Selector | ||
@@ -107,0 +117,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
121114
123