@markuplint/html-spec 4.3.0 → 4.4.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.
- package/index.json +18 -11
- package/package.json +5 -5
package/index.json
CHANGED
|
@@ -371,6 +371,17 @@
|
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
|
+
"writingsuggestions": {
|
|
375
|
+
"type": {
|
|
376
|
+
"enum": ["", "true", "false"],
|
|
377
|
+
"disallowToSurroundBySpaces": true,
|
|
378
|
+
"invalidValueDefault": "default",
|
|
379
|
+
"missingValueDefault": "default",
|
|
380
|
+
"sameStates": {
|
|
381
|
+
"true": [""]
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
},
|
|
374
385
|
"class": {
|
|
375
386
|
"type": "Any"
|
|
376
387
|
},
|
|
@@ -3047,7 +3058,7 @@
|
|
|
3047
3058
|
},
|
|
3048
3059
|
{
|
|
3049
3060
|
"name": "combobox",
|
|
3050
|
-
"description": "An input that controls another element, such as a listbox or grid, that can dynamically pop up to help the user set the value of the input.\n\nThe Guidance for combobox has changed significantly in ARIA 1.2 due to problems with implementation of the previous patterns. Authors and developers of User Agents, Assistive Technologies, and Conformance Checkers are advised to review this section carefully to understand the changes. Explanation of the changes is available in the ARIA repository wiki.\n\nA combobox functionally combines a named input field with the ability to assist value selection via a supplementary popup element. A combobox input MAY be either a single-line text field that supports editing and typing or an element that only displays the current value of the combobox. If the combobox supports text input and provides autocompletion behavior as described in aria-autocomplete, authors MUST set aria-autocomplete on the combobox element to the value that corresponds to the provided behavior.\n\nTypically, the initial state of a combobox is collapsed. In the collapsed state, only the combobox element and a separate, optional popup control button are visible. A combobox is said to be expanded when both the combobox element showing its current value and its associated popup element are visible. Authors MUST set aria-expanded to true on an element with role combobox when it is expanded and false when it is collapsed.\n\
|
|
3061
|
+
"description": "An input that controls another element, such as a listbox or grid, that can dynamically pop up to help the user set the value of the input.\n\nThe Guidance for combobox has changed significantly in ARIA 1.2 due to problems with implementation of the previous patterns. Authors and developers of User Agents, Assistive Technologies, and Conformance Checkers are advised to review this section carefully to understand the changes. Explanation of the changes is available in the ARIA repository wiki.\n\nA combobox functionally combines a named input field with the ability to assist value selection via a supplementary popup element. A combobox input MAY be either a single-line text field that supports editing and typing or an element that only displays the current value of the combobox. If the combobox supports text input and provides autocompletion behavior as described in aria-autocomplete, authors MUST set aria-autocomplete on the combobox element to the value that corresponds to the provided behavior.\n\nTypically, the initial state of a combobox is collapsed. In the collapsed state, only the combobox element and a separate, optional popup control button are visible. A combobox is said to be expanded when both the combobox element showing its current value and its associated popup element are visible. Authors MUST set aria-expanded to true on an element with role combobox when it is expanded and false when it is collapsed.\n\nElements with the role combobox have an implicit aria-haspopup value of listbox. If the combobox popup element has a role other than listbox, authors MUST specify an aria-haspopup value of tree, grid, or dialog that corresponds to the role of its popup.\n\nIf the user interface includes an additional icon that allows the visibility of the popup to be controlled via pointer and touch events, authors SHOULD ensure that element has role button, that it is focusable but not included in the page Tab sequence, and that it is not a descendant of the element with role combobox. In addition, to be keyboard accessible, authors SHOULD provide keyboard mechanisms for moving focus between the combobox element and elements contained in the popup. For example, one common convention is that Down Arrow moves focus from the input to the first focusable descendant of the popup element. If the popup element supports aria-activedescendant, in lieu of moving focus, such keyboard mechanisms can control the value of aria-activedescendant on the combobox element. When a descendant of the popup element is active, authors MAY set aria-activedescendant on the combobox to a value that refers to the active element within the popup while focus remains on the combobox element.\n\nUser agents MUST expose the value of elements with role combobox to assistive technologies. The value of a combobox is represented by one of the following:\n\nPlease review the following carefully. As a result of these changes a combobox following the ARIA 1.1 combobox specification will no longer conform with the ARIA specification.\n\nThe structural requirements for combobox defined by this version of the specification are different from the requirements defined by ARIA 1.0 and ARIA 1.1:\n\nThe features and behaviors of combobox implementations vary widely. Consequently, there are many important authoring considerations. See the WAI-ARIA Authoring Practices for additional details on implementing combobox design patterns.",
|
|
3051
3062
|
"generalization": ["input"],
|
|
3052
3063
|
"requiredContextRole": [],
|
|
3053
3064
|
"requiredOwnedElements": [],
|
|
@@ -11953,7 +11964,7 @@
|
|
|
11953
11964
|
},
|
|
11954
11965
|
{
|
|
11955
11966
|
"name": "textbox",
|
|
11956
|
-
"description": "A type of input that allows free-form text as its value.\n\nIf the aria-multiline attribute is true, the widget accepts line breaks within the input, as in an HTML textarea. Otherwise, this is a simple text box. The intended use is for languages that do not have a text input element, or cases in which an element with different semantics is repurposed as a text field.\n\nIn most user agent implementations, the default behavior of the ENTER or RETURN key is different between the single-line and multi-line text fields in HTML. When user has focus in a single-line <input type=\"text\"> element, the keystroke usually submits the form. When user has focus in a multi-line <textarea> element, the keystroke inserts a line break. The WAI-ARIA textbox role differentiates these types of boxes with the aria-multiline attribute, so authors are advised to be aware of this distinction when designing the field.",
|
|
11967
|
+
"description": "A type of input that allows free-form text as its value.\n\nIf the aria-multiline attribute is true, the widget accepts line breaks within the input, as in an HTML textarea. Otherwise, this is a simple text box. The intended use is for languages that do not have a text input element, or cases in which an element with different semantics is repurposed as a text field.\n\nAuthors MUST limit the children of a textbox to non-interactive, entirely presentational elements such as icons used to visually convey information that is already exposed in an accessible manner. Examples include:\n\nIn most user agent implementations, the default behavior of the ENTER or RETURN key is different between the single-line and multi-line text fields in HTML. When user has focus in a single-line <input type=\"text\"> element, the keystroke usually submits the form. When user has focus in a multi-line <textarea> element, the keystroke inserts a line break. The WAI-ARIA textbox role differentiates these types of boxes with the aria-multiline attribute, so authors are advised to be aware of this distinction when designing the field.",
|
|
11957
11968
|
"generalization": ["input"],
|
|
11958
11969
|
"requiredContextRole": [],
|
|
11959
11970
|
"requiredOwnedElements": [],
|
|
@@ -35071,7 +35082,7 @@
|
|
|
35071
35082
|
"deprecated": true
|
|
35072
35083
|
},
|
|
35073
35084
|
"target": {
|
|
35074
|
-
"description": "Where to display the linked URL, as the name for a browsing context (a tab, window, or <iframe>). The following keywords have special meanings for where to load the URL: _self:
|
|
35085
|
+
"description": "Where to display the linked URL, as the name for a browsing context (a tab, window, or <iframe>). The following keywords have special meanings for where to load the URL: _self: The current browsing context. (Default) _blank: Usually a new tab, but users can configure browsers to open a new window instead. _parent: The parent browsing context of the current one. If no parent, behaves as _self. _top: The topmost browsing context. To be specific, this means the \"highest\" context that's an ancestor of the current one. If no ancestors, behaves as _self. _unfencedTop: Allows embedded fenced frames to navigate the top-level frame (i.e. traversing beyond the root of the fenced frame, unlike other reserved destinations). Note that the navigation will still succeed if this is used outside of a fenced frame context, but it will not act like a reserved keyword. Note: Setting target=\"_blank\" on <a> elements implicitly provides the same rel behavior as setting rel=\"noopener\" which does not set window.opener."
|
|
35075
35086
|
},
|
|
35076
35087
|
"type": {
|
|
35077
35088
|
"description": "Hints at the linked URL's format with a MIME type. No built-in functionality."
|
|
@@ -35786,11 +35797,7 @@
|
|
|
35786
35797
|
"description": "The <br> HTML element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.",
|
|
35787
35798
|
"categories": ["#flow", "#phrasing"],
|
|
35788
35799
|
"contentModel": {
|
|
35789
|
-
"contents":
|
|
35790
|
-
{
|
|
35791
|
-
"oneOrMore": ":model(flow)"
|
|
35792
|
-
}
|
|
35793
|
-
]
|
|
35800
|
+
"contents": false
|
|
35794
35801
|
},
|
|
35795
35802
|
"aria": {
|
|
35796
35803
|
"implicitRole": false,
|
|
@@ -35879,7 +35886,7 @@
|
|
|
35879
35886
|
"description": "This Boolean attribute specifies that the button should have input focus when the page loads. Only one element in a document can have this attribute."
|
|
35880
35887
|
},
|
|
35881
35888
|
"disabled": {
|
|
35882
|
-
"description": "This Boolean attribute prevents the user from interacting with the button: it cannot be pressed or focused.
|
|
35889
|
+
"description": "This Boolean attribute prevents the user from interacting with the button: it cannot be pressed or focused."
|
|
35883
35890
|
},
|
|
35884
35891
|
"form": {
|
|
35885
35892
|
"description": "The <form> element to associate the button with (its form owner). The value of this attribute must be the id of a <form> in the same document. (If this attribute is not set, the <button> is associated with its ancestor <form> element, if any.) This attribute lets you associate <button> elements to <form>s anywhere in the document, not just inside a <form>. It can also override an ancestor <form> element."
|
|
@@ -40870,11 +40877,11 @@
|
|
|
40870
40877
|
"deprecated": true
|
|
40871
40878
|
},
|
|
40872
40879
|
"cellpadding": {
|
|
40873
|
-
"description": "Defines the space between the content of a cell and its border
|
|
40880
|
+
"description": "Defines the space between the content of a cell and its border. This attribute is obsolete: instead of using it, apply the padding CSS property to the <th> and <td> elements.",
|
|
40874
40881
|
"deprecated": true
|
|
40875
40882
|
},
|
|
40876
40883
|
"cellspacing": {
|
|
40877
|
-
"description": "Defines the size of the space between two cells
|
|
40884
|
+
"description": "Defines the size of the space between two cells. This attribute is obsolete: instead of using it, set the border-spacing CSS property on the <table> element. Note that this has no effect if the <table> element's border-collapse CSS property is set to collapse.",
|
|
40878
40885
|
"deprecated": true
|
|
40879
40886
|
},
|
|
40880
40887
|
"frame": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/html-spec",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.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.
|
|
21
|
-
"@markuplint/test-tools": "4.
|
|
20
|
+
"@markuplint/spec-generator": "4.3.0",
|
|
21
|
+
"@markuplint/test-tools": "4.2.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@markuplint/ml-spec": "4.
|
|
24
|
+
"@markuplint/ml-spec": "4.2.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "fe251a0257345255ee887dd2302b889ac32a22a5"
|
|
27
27
|
}
|