@markuplint/html-spec 4.2.0 → 4.3.1-alpha.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 +12 -11
- package/package.json +5 -5
package/index.json
CHANGED
|
@@ -3047,7 +3047,7 @@
|
|
|
3047
3047
|
},
|
|
3048
3048
|
{
|
|
3049
3049
|
"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\
|
|
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\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
3051
|
"generalization": ["input"],
|
|
3052
3052
|
"requiredContextRole": [],
|
|
3053
3053
|
"requiredOwnedElements": [],
|
|
@@ -11953,7 +11953,7 @@
|
|
|
11953
11953
|
},
|
|
11954
11954
|
{
|
|
11955
11955
|
"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.",
|
|
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\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
11957
|
"generalization": ["input"],
|
|
11958
11958
|
"requiredContextRole": [],
|
|
11959
11959
|
"requiredOwnedElements": [],
|
|
@@ -35071,7 +35071,7 @@
|
|
|
35071
35071
|
"deprecated": true
|
|
35072
35072
|
},
|
|
35073
35073
|
"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:
|
|
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: 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
35075
|
},
|
|
35076
35076
|
"type": {
|
|
35077
35077
|
"description": "Hints at the linked URL's format with a MIME type. No built-in functionality."
|
|
@@ -35735,6 +35735,9 @@
|
|
|
35735
35735
|
"onpageshow": {
|
|
35736
35736
|
"type": "FunctionBody"
|
|
35737
35737
|
},
|
|
35738
|
+
"onpageswap": {
|
|
35739
|
+
"type": "FunctionBody"
|
|
35740
|
+
},
|
|
35738
35741
|
"onpopstate": {
|
|
35739
35742
|
"type": "FunctionBody"
|
|
35740
35743
|
},
|
|
@@ -35783,11 +35786,7 @@
|
|
|
35783
35786
|
"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.",
|
|
35784
35787
|
"categories": ["#flow", "#phrasing"],
|
|
35785
35788
|
"contentModel": {
|
|
35786
|
-
"contents":
|
|
35787
|
-
{
|
|
35788
|
-
"oneOrMore": ":model(flow)"
|
|
35789
|
-
}
|
|
35790
|
-
]
|
|
35789
|
+
"contents": false
|
|
35791
35790
|
},
|
|
35792
35791
|
"aria": {
|
|
35793
35792
|
"implicitRole": false,
|
|
@@ -35876,7 +35875,7 @@
|
|
|
35876
35875
|
"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."
|
|
35877
35876
|
},
|
|
35878
35877
|
"disabled": {
|
|
35879
|
-
"description": "This Boolean attribute prevents the user from interacting with the button: it cannot be pressed or focused.
|
|
35878
|
+
"description": "This Boolean attribute prevents the user from interacting with the button: it cannot be pressed or focused."
|
|
35880
35879
|
},
|
|
35881
35880
|
"form": {
|
|
35882
35881
|
"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."
|
|
@@ -37430,7 +37429,8 @@
|
|
|
37430
37429
|
},
|
|
37431
37430
|
"browsingtopics": {
|
|
37432
37431
|
"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
|
|
37432
|
+
"experimental": true,
|
|
37433
|
+
"nonStandard": true
|
|
37434
37434
|
},
|
|
37435
37435
|
"credentialless": {
|
|
37436
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.",
|
|
@@ -38824,6 +38824,7 @@
|
|
|
38824
38824
|
"canonical",
|
|
38825
38825
|
"author",
|
|
38826
38826
|
"dns-prefetch",
|
|
38827
|
+
"expect",
|
|
38827
38828
|
"help",
|
|
38828
38829
|
"icon",
|
|
38829
38830
|
"manifest",
|
|
@@ -40649,7 +40650,7 @@
|
|
|
40649
40650
|
"name": "style",
|
|
40650
40651
|
"cite": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style",
|
|
40651
40652
|
"description": "The <style> HTML element contains style information for a document, or part of a document. It contains CSS, which is applied to the contents of the document containing the <style> element.",
|
|
40652
|
-
"categories": ["#metadata"
|
|
40653
|
+
"categories": ["#metadata"],
|
|
40653
40654
|
"contentModel": {
|
|
40654
40655
|
"contents": [
|
|
40655
40656
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/html-spec",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1-alpha.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.2.0",
|
|
21
|
-
"@markuplint/test-tools": "4.1.0"
|
|
20
|
+
"@markuplint/spec-generator": "4.2.1-alpha.0",
|
|
21
|
+
"@markuplint/test-tools": "4.1.1-alpha.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@markuplint/ml-spec": "4.1.0"
|
|
24
|
+
"@markuplint/ml-spec": "4.1.1-alpha.0"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "02b8ba8440aeeafbf9507ea0ef84bc258fced2c6"
|
|
27
27
|
}
|