@markuplint/html-spec 4.1.0 → 4.2.0

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 -11
  2. package/package.json +5 -5
package/index.json CHANGED
@@ -4074,6 +4074,7 @@
4074
4074
  {
4075
4075
  "name": "directory",
4076
4076
  "description": "[Deprecated in ARIA 1.2] A list of references to members of a group, such as a static table of contents.\n\nAs exposed by accessibility APIs, the directory role is essentially equivalent to the list role. So, using directory does not provide any additional benefits to assistive technology users. Authors are advised to treat directory as deprecated and to use list, or a host language's equivalent semantics instead.\n\nA directory is a static table of contents, whether linked or unlinked. This includes tables of contents built with lists, including nested lists. Dynamic tables of contents, however, might use a tree role instead.",
4077
+ "deprecated": true,
4077
4078
  "generalization": ["list"],
4078
4079
  "requiredContextRole": [],
4079
4080
  "requiredOwnedElements": [],
@@ -5351,20 +5352,122 @@
5351
5352
  },
5352
5353
  {
5353
5354
  "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": [],
5355
+ "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.",
5356
+ "generalization": ["section"],
5356
5357
  "requiredContextRole": [],
5357
5358
  "requiredOwnedElements": [],
5358
- "accessibleNameRequired": false,
5359
- "accessibleNameFromAuthor": false,
5359
+ "accessibleNameRequired": true,
5360
+ "accessibleNameFromAuthor": true,
5360
5361
  "accessibleNameFromContent": false,
5361
5362
  "accessibleNameProhibited": false,
5362
- "ownedProperties": [],
5363
+ "childrenPresentational": true,
5364
+ "ownedProperties": [
5365
+ {
5366
+ "name": "aria-atomic",
5367
+ "inherited": true
5368
+ },
5369
+ {
5370
+ "name": "aria-braillelabel",
5371
+ "inherited": true
5372
+ },
5373
+ {
5374
+ "name": "aria-brailleroledescription",
5375
+ "inherited": true
5376
+ },
5377
+ {
5378
+ "name": "aria-busy",
5379
+ "inherited": true
5380
+ },
5381
+ {
5382
+ "name": "aria-controls",
5383
+ "inherited": true
5384
+ },
5385
+ {
5386
+ "name": "aria-current",
5387
+ "inherited": true
5388
+ },
5389
+ {
5390
+ "name": "aria-describedby",
5391
+ "inherited": true
5392
+ },
5393
+ {
5394
+ "name": "aria-description",
5395
+ "inherited": true
5396
+ },
5397
+ {
5398
+ "name": "aria-details",
5399
+ "inherited": true
5400
+ },
5401
+ {
5402
+ "name": "aria-disabled",
5403
+ "deprecated": true,
5404
+ "inherited": true
5405
+ },
5406
+ {
5407
+ "name": "aria-dropeffect",
5408
+ "inherited": true
5409
+ },
5410
+ {
5411
+ "name": "aria-errormessage",
5412
+ "deprecated": true,
5413
+ "inherited": true
5414
+ },
5415
+ {
5416
+ "name": "aria-flowto",
5417
+ "inherited": true
5418
+ },
5419
+ {
5420
+ "name": "aria-grabbed",
5421
+ "inherited": true
5422
+ },
5423
+ {
5424
+ "name": "aria-haspopup",
5425
+ "deprecated": true,
5426
+ "inherited": true
5427
+ },
5428
+ {
5429
+ "name": "aria-hidden",
5430
+ "inherited": true
5431
+ },
5432
+ {
5433
+ "name": "aria-invalid",
5434
+ "deprecated": true,
5435
+ "inherited": true
5436
+ },
5437
+ {
5438
+ "name": "aria-keyshortcuts",
5439
+ "inherited": true
5440
+ },
5441
+ {
5442
+ "name": "aria-label",
5443
+ "inherited": true
5444
+ },
5445
+ {
5446
+ "name": "aria-labelledby",
5447
+ "inherited": true
5448
+ },
5449
+ {
5450
+ "name": "aria-live",
5451
+ "inherited": true
5452
+ },
5453
+ {
5454
+ "name": "aria-owns",
5455
+ "inherited": true
5456
+ },
5457
+ {
5458
+ "name": "aria-relevant",
5459
+ "inherited": true
5460
+ },
5461
+ {
5462
+ "name": "aria-roledescription",
5463
+ "inherited": true
5464
+ }
5465
+ ],
5363
5466
  "prohibitedProperties": []
5364
5467
  },
5365
5468
  {
5366
5469
  "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.",
5470
+ "description": "A container for a collection of elements that form an image. See synonym image.",
5368
5471
  "generalization": ["section"],
5369
5472
  "requiredContextRole": [],
5370
5473
  "requiredOwnedElements": [],
@@ -16063,6 +16166,7 @@
16063
16166
  {
16064
16167
  "name": "directory",
16065
16168
  "description": "[Deprecated in ARIA 1.2] A list of references to members of a group, such as a static table of contents.\n\nAs exposed by accessibility APIs, the directory role is essentially equivalent to the list role. So, using directory does not provide any additional benefits to assistive technology users. Authors are advised to treat directory as deprecated and to use list, or a host language's equivalent semantics instead.\n\nA directory is a static table of contents, whether linked or unlinked. This includes tables of contents built with lists, including nested lists. Dynamic tables of contents, however, might use a tree role instead.",
16169
+ "deprecated": true,
16066
16170
  "generalization": ["list"],
16067
16171
  "requiredContextRole": [],
16068
16172
  "requiredOwnedElements": [],
@@ -37324,6 +37428,10 @@
37324
37428
  "deprecated": true,
37325
37429
  "nonStandard": true
37326
37430
  },
37431
+ "browsingtopics": {
37432
+ "description": "A boolean attribute that, if present, specifies that the selected topics for the current user should be sent with the request for the <iframe>'s source. See Using the Topics API for more details.",
37433
+ "experimental": true
37434
+ },
37327
37435
  "credentialless": {
37328
37436
  "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.",
37329
37437
  "experimental": true
@@ -40933,6 +41041,9 @@
40933
41041
  "#HTMLGlobalAttrs": true
40934
41042
  },
40935
41043
  "attributes": {
41044
+ "shadowrootclonable": {
41045
+ "type": "Boolean"
41046
+ },
40936
41047
  "shadowrootdelegatesfocus": {
40937
41048
  "type": "Boolean"
40938
41049
  },
@@ -41488,13 +41599,11 @@
41488
41599
  "attributes": {
41489
41600
  "compact": {
41490
41601
  "description": "This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent, and it doesn't work in all browsers. Warning: Do not use this attribute, as it has been deprecated: use CSS instead. To give a similar effect as the compact attribute, the CSS property line-height can be used with a value of 80%.",
41491
- "deprecated": true,
41492
- "nonStandard": true
41602
+ "deprecated": true
41493
41603
  },
41494
41604
  "type": {
41495
41605
  "description": "This attribute sets the bullet style for the list. The values defined under HTML3.2 and the transitional version of HTML 4.0/4.01 are: circle disc square A fourth bullet type has been defined in the WebTV interface, but not all browsers support it: triangle. If not present and if no CSS list-style-type property applies to the element, the user agent selects a bullet type depending on the nesting level of the list. Warning: Do not use this attribute, as it has been deprecated; use the CSS list-style-type property instead.",
41496
- "deprecated": true,
41497
- "nonStandard": true
41606
+ "deprecated": true
41498
41607
  }
41499
41608
  }
41500
41609
  },
@@ -44888,7 +44997,7 @@
44888
44997
  {
44889
44998
  "zeroOrMore": [
44890
44999
  ":model(SVGDescriptive)",
44891
- "#SVGFilterPrimitive",
45000
+ ":model(SVGFilterPrimitive)",
44892
45001
  "svg|animate",
44893
45002
  "svg|script",
44894
45003
  "svg|set"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/html-spec",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
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.2.0",
21
+ "@markuplint/test-tools": "4.1.0"
22
22
  },
23
23
  "dependencies": {
24
- "@markuplint/ml-spec": "4.0.1"
24
+ "@markuplint/ml-spec": "4.1.0"
25
25
  },
26
- "gitHead": "b9817c30c2df71faa866e3b3fe286afa499deede"
26
+ "gitHead": "d5d99c5d84b676f8b2bb84684533ed74cf2f1da6"
27
27
  }