@markuplint/html-spec 4.0.2 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.json +120 -13
  2. package/package.json +5 -5
package/index.json CHANGED
@@ -5351,20 +5351,122 @@
5351
5351
  },
5352
5352
  {
5353
5353
  "name": "image",
5354
- "description": "A container for a collection of elements that form an image. See synonym img.\n\nThe image was added to ARIA in version 1.3 as a synonym of the ARIA 1.0 img role. The image role improves syntactic consistency with the names of other roles, which are complete words or concatenations of complete words.",
5355
- "generalization": [],
5354
+ "description": "A container for a collection of elements that form an image. See synonym img.\n\nAn img can contain captions and descriptive text, as well as multiple image files that when viewed together give the impression of a single image. An img represents a single graphic within a document, whether or not it is formed by a collection of drawing objects. In order for an element with a role of img to be perceivable, authors MUST provide the element with an accessible name. This can be done using the aria-label or aria-labelledby attribute.\n\nThe image role was added to ARIA in version 1.3 as a synonym of the ARIA 1.0 img role. The image role improves syntactic consistency with the names of other roles, which are complete words or concatenations of complete words.",
5355
+ "generalization": ["section"],
5356
5356
  "requiredContextRole": [],
5357
5357
  "requiredOwnedElements": [],
5358
- "accessibleNameRequired": false,
5359
- "accessibleNameFromAuthor": false,
5358
+ "accessibleNameRequired": true,
5359
+ "accessibleNameFromAuthor": true,
5360
5360
  "accessibleNameFromContent": false,
5361
5361
  "accessibleNameProhibited": false,
5362
- "ownedProperties": [],
5362
+ "childrenPresentational": true,
5363
+ "ownedProperties": [
5364
+ {
5365
+ "name": "aria-atomic",
5366
+ "inherited": true
5367
+ },
5368
+ {
5369
+ "name": "aria-braillelabel",
5370
+ "inherited": true
5371
+ },
5372
+ {
5373
+ "name": "aria-brailleroledescription",
5374
+ "inherited": true
5375
+ },
5376
+ {
5377
+ "name": "aria-busy",
5378
+ "inherited": true
5379
+ },
5380
+ {
5381
+ "name": "aria-controls",
5382
+ "inherited": true
5383
+ },
5384
+ {
5385
+ "name": "aria-current",
5386
+ "inherited": true
5387
+ },
5388
+ {
5389
+ "name": "aria-describedby",
5390
+ "inherited": true
5391
+ },
5392
+ {
5393
+ "name": "aria-description",
5394
+ "inherited": true
5395
+ },
5396
+ {
5397
+ "name": "aria-details",
5398
+ "inherited": true
5399
+ },
5400
+ {
5401
+ "name": "aria-disabled",
5402
+ "deprecated": true,
5403
+ "inherited": true
5404
+ },
5405
+ {
5406
+ "name": "aria-dropeffect",
5407
+ "inherited": true
5408
+ },
5409
+ {
5410
+ "name": "aria-errormessage",
5411
+ "deprecated": true,
5412
+ "inherited": true
5413
+ },
5414
+ {
5415
+ "name": "aria-flowto",
5416
+ "inherited": true
5417
+ },
5418
+ {
5419
+ "name": "aria-grabbed",
5420
+ "inherited": true
5421
+ },
5422
+ {
5423
+ "name": "aria-haspopup",
5424
+ "deprecated": true,
5425
+ "inherited": true
5426
+ },
5427
+ {
5428
+ "name": "aria-hidden",
5429
+ "inherited": true
5430
+ },
5431
+ {
5432
+ "name": "aria-invalid",
5433
+ "deprecated": true,
5434
+ "inherited": true
5435
+ },
5436
+ {
5437
+ "name": "aria-keyshortcuts",
5438
+ "inherited": true
5439
+ },
5440
+ {
5441
+ "name": "aria-label",
5442
+ "inherited": true
5443
+ },
5444
+ {
5445
+ "name": "aria-labelledby",
5446
+ "inherited": true
5447
+ },
5448
+ {
5449
+ "name": "aria-live",
5450
+ "inherited": true
5451
+ },
5452
+ {
5453
+ "name": "aria-owns",
5454
+ "inherited": true
5455
+ },
5456
+ {
5457
+ "name": "aria-relevant",
5458
+ "inherited": true
5459
+ },
5460
+ {
5461
+ "name": "aria-roledescription",
5462
+ "inherited": true
5463
+ }
5464
+ ],
5363
5465
  "prohibitedProperties": []
5364
5466
  },
5365
5467
  {
5366
5468
  "name": "img",
5367
- "description": "A container for a collection of elements that form an image. See synonym image.\n\nAn img can contain captions and descriptive text, as well as multiple image files that when viewed together give the impression of a single image. An img represents a single graphic within a document, whether or not it is formed by a collection of drawing objects. In order for an element with a role of img to be perceivable, authors MUST provide the element with an accessible name. This can be done using the aria-label or aria-labelledby attribute.",
5469
+ "description": "A container for a collection of elements that form an image. See synonym image.",
5368
5470
  "generalization": ["section"],
5369
5471
  "requiredContextRole": [],
5370
5472
  "requiredOwnedElements": [],
@@ -35625,6 +35727,9 @@
35625
35727
  "onpagehide": {
35626
35728
  "type": "FunctionBody"
35627
35729
  },
35730
+ "onpagereveal": {
35731
+ "type": "FunctionBody"
35732
+ },
35628
35733
  "onpageshow": {
35629
35734
  "type": "FunctionBody"
35630
35735
  },
@@ -37079,8 +37184,7 @@
37079
37184
  "attributes": {
37080
37185
  "profile": {
37081
37186
  "description": "The URIs of one or more metadata profiles, separated by white space.",
37082
- "deprecated": true,
37083
- "nonStandard": true
37187
+ "deprecated": true
37084
37188
  }
37085
37189
  }
37086
37190
  },
@@ -37247,8 +37351,7 @@
37247
37351
  "attributes": {
37248
37352
  "manifest": {
37249
37353
  "description": "Specifies the URI of a resource manifest indicating resources that should be cached locally.",
37250
- "deprecated": true,
37251
- "nonStandard": true
37354
+ "deprecated": true
37252
37355
  },
37253
37356
  "version": {
37254
37357
  "description": "Specifies the version of the HTML Document Type Definition that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.",
@@ -37325,8 +37428,7 @@
37325
37428
  },
37326
37429
  "credentialless": {
37327
37430
  "description": "Set to true to make the <iframe> credentialless, meaning that its content will be loaded in a new, ephemeral context. It doesn't have access to the network, cookies, and storage data associated with its origin. It uses a new context local to the top-level document lifetime. In return, the Cross-Origin-Embedder-Policy (COEP) embedding rules can be lifted, so documents with COEP set can embed third-party documents that do not. See IFrame credentialless for more details.",
37328
- "experimental": true,
37329
- "nonStandard": true
37431
+ "experimental": true
37330
37432
  },
37331
37433
  "csp": {
37332
37434
  "description": "A Content Security Policy enforced for the embedded resource. See HTMLIFrameElement.csp for details.",
@@ -38728,6 +38830,7 @@
38728
38830
  "preload",
38729
38831
  "prerender",
38730
38832
  "prev",
38833
+ "privacy-policy",
38731
38834
  "search",
38732
38835
  "stylesheet",
38733
38836
  "terms-of-service"
@@ -39393,7 +39496,8 @@
39393
39496
  "requiredEither": ["data"]
39394
39497
  },
39395
39498
  "usemap": {
39396
- "description": "A hash-name reference to a <map> element; that is a '#' followed by the value of a name of a map element."
39499
+ "description": "A hash-name reference to a <map> element; that is a '#' followed by the value of a name of a map element.",
39500
+ "deprecated": true
39397
39501
  },
39398
39502
  "width": {
39399
39503
  "description": "The width of the display resource, in CSS pixels. — (Absolute values only. NO percentages)"
@@ -40931,6 +41035,9 @@
40931
41035
  "#HTMLGlobalAttrs": true
40932
41036
  },
40933
41037
  "attributes": {
41038
+ "shadowrootclonable": {
41039
+ "type": "Boolean"
41040
+ },
40934
41041
  "shadowrootdelegatesfocus": {
40935
41042
  "type": "Boolean"
40936
41043
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/html-spec",
3
- "version": "4.0.2",
3
+ "version": "4.1.1",
4
4
  "description": "A specification of HTML Living Standard for markuplint",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -17,11 +17,11 @@
17
17
  "gen:prettier": "prettier --write index.json"
18
18
  },
19
19
  "devDependencies": {
20
- "@markuplint/spec-generator": "4.0.1",
21
- "@markuplint/test-tools": "4.0.1"
20
+ "@markuplint/spec-generator": "4.1.0",
21
+ "@markuplint/test-tools": "4.0.2"
22
22
  },
23
23
  "dependencies": {
24
- "@markuplint/ml-spec": "4.0.1"
24
+ "@markuplint/ml-spec": "4.0.2"
25
25
  },
26
- "gitHead": "bf84b391b580a8586fa7acaf56eb2e8114c8e33e"
26
+ "gitHead": "10ce6c8374106f311eeaaffbae8f3fdcbb40f877"
27
27
  }