Skip to content

Commit

Permalink
Update of TR report from new reffy run
Browse files Browse the repository at this point in the history
Using reffy commit 18.0.1.
  • Loading branch information
reffy-bot committed Dec 12, 2024
1 parent 7ffc85c commit 381a537
Show file tree
Hide file tree
Showing 15 changed files with 587 additions and 439 deletions.
18 changes: 9 additions & 9 deletions tr/algorithms/accname-1.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
]
},
{
"html": "<span id=\"step2B\"></span><em>LabelledBy:</em> Otherwise, if the <code>current node</code> has an\n <code>aria-labelledby</code> <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-attribute\">attribute</a> that contains at least one valid IDREF, and the <code>current node</code> is not already part of an ongoing <code>aria-labelledby</code> or\n <code>aria-describedby</code> traversal, process its IDREFs in the order they occur:",
"html": "<span id=\"step2B\"></span><em>LabelledBy:</em> Otherwise, if the <code>current node</code> has an\n <code>aria-labelledby</code> <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-attribute\">attribute</a> that contains at least one valid IDREF, and the <code>current node</code> is not already part of an ongoing <code>aria-labelledby</code> or\n <code>aria-describedby</code> traversal, process its IDREFs in the order they occur:",
"rationale": "set",
"steps": [
{
Expand Down Expand Up @@ -76,7 +76,7 @@
]
},
{
"html": "<span id=\"step2D\"></span><em>AriaLabel:</em> Otherwise, if the <code>current node</code> has an <code>aria-label</code> <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-attribute\">attribute</a>\n whose value is not undefined, not the empty string, nor, when trimmed of <a data-link-type=\"dfn|abstract-op\" data-lt=\"ascii whitespace\" data-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#ascii-whitespace\">whitespace</a>, is not the empty string:",
"html": "<span id=\"step2D\"></span><em>AriaLabel:</em> Otherwise, if the <code>current node</code> has an <code>aria-label</code> <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-attribute\">attribute</a>\n whose value is not undefined, not the empty string, nor, when trimmed of <a data-link-type=\"dfn\" data-lt=\"ascii whitespace\" href=\"https://infra.spec.whatwg.org/#ascii-whitespace\">whitespace</a>, is not the empty string:",
"rationale": "if",
"steps": [
{
Expand All @@ -88,17 +88,17 @@
]
},
{
"html": "<span id=\"step2E\"></span><em>Host Language Label:</em> Otherwise, if the <code>current node</code>'s native markup provides an\n <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-attribute\">attribute</a> (e.g. <code>alt</code>) or <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-element\">element</a> (e.g. <abbr title=\"Hypertext Markup Language\">HTML</abbr> <code>label</code> or <abbr title=\"Scalable Vector Graphics\">SVG</abbr> <code>title</code>) that defines a text alternative, return that alternative in the form of\n a <code>flat string</code> as defined by the host language, unless the element is marked as presentational (<code>role=\"presentation\"</code> or <code>role=\"none\"</code>)."
"html": "<span id=\"step2E\"></span><em>Host Language Label:</em> Otherwise, if the <code>current node</code>'s native markup provides an\n <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-attribute\">attribute</a> (e.g. <code>alt</code>) or <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-element\">element</a> (e.g. <abbr title=\"Hypertext Markup Language\">HTML</abbr> <code>label</code> or <abbr title=\"Scalable Vector Graphics\">SVG</abbr> <code>title</code>) that defines a text alternative, return that alternative in the form of\n a <code>flat string</code> as defined by the host language, unless the element is marked as presentational (<code>role=\"presentation\"</code> or <code>role=\"none\"</code>)."
},
{
"html": "<span id=\"step2F\"></span><em>Name From Content:</em> Otherwise, if the <code>current node's</code> allows\n <a class=\"specref\" href=\"https://www.w3.org/TR/wai-aria-1.2/#namefromcontent\">name from content</a>, or if the <code>current node</code> is referenced by <code>aria-labelledby</code>, <code>aria-describedby</code>, or\n is a native host language text alternative <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-element\">element</a> (e.g. <code>label</code> in <abbr title=\"Hypertext Markup Language\">HTML</abbr>), or is a descendant of a native host language text alternative <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-element\">element</a>:",
"html": "<span id=\"step2F\"></span><em>Name From Content:</em> Otherwise, if the <code>current node's</code> allows\n <a class=\"specref\" href=\"https://www.w3.org/TR/wai-aria-1.2/#namefromcontent\">name from content</a>, or if the <code>current node</code> is referenced by <code>aria-labelledby</code>, <code>aria-describedby</code>, or\n is a native host language text alternative <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-element\">element</a> (e.g. <code>label</code> in <abbr title=\"Hypertext Markup Language\">HTML</abbr>), or is a descendant of a native host language text alternative <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-element\">element</a>:",
"rationale": "for",
"steps": [
{
"html": "<span id=\"step2F.i\"></span><em>Name From Content Reset:</em> Set the <code>accumulated text</code> to the empty string."
},
{
"html": "<span id=\"step2F.ii\"></span><em>Name From Generated Content:</em> Check for\n <abbr title=\"Cascading Style Sheets\">CSS</abbr> generated textual content associated with the <code>current node</code> and include it in the <code>accumulated text</code>. The\n <abbr title=\"Cascading Style Sheets\">CSS</abbr> <a href=\"https://www.w3.org/TR/CSS2/generate.html#before-after-content\"><code>::before</code> and <code>::after</code></a> pseudo\n elements [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/accname-1.2/#bib-css2\" title=\"Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification\">CSS2</a></cite>] can provide textual content for <a data-link-type=\"dfn|abstract-op\" data-lt=\"element\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-element\">elements</a> that have a content model.",
"html": "<span id=\"step2F.ii\"></span><em>Name From Generated Content:</em> Check for\n <abbr title=\"Cascading Style Sheets\">CSS</abbr> generated textual content associated with the <code>current node</code> and include it in the <code>accumulated text</code>. The\n <abbr title=\"Cascading Style Sheets\">CSS</abbr> <a href=\"https://www.w3.org/TR/CSS2/generate.html#before-after-content\"><code>::before</code> and <code>::after</code></a> pseudo\n elements [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/accname-1.2/#bib-css2\" title=\"Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification\">CSS2</a></cite>] can provide textual content for <a data-link-type=\"dfn\" data-lt=\"element\" href=\"https://dom.spec.whatwg.org/#concept-element\">elements</a> that have a content model.",
"rationale": "for",
"steps": [
{
Expand All @@ -114,10 +114,10 @@
"rationale": "if",
"steps": [
{
"html": "If the <code>current node</code> has an attached <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-shadow-root\">shadow root</a>, set the <code>rendered child nodes</code> to be the child nodes of the <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-shadow-root\">shadow root</a>."
"html": "If the <code>current node</code> has an attached <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-shadow-root\">shadow root</a>, set the <code>rendered child nodes</code> to be the child nodes of the <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-shadow-root\">shadow root</a>."
},
{
"html": "Otherwise, if the <code>current node</code> is a <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-slot\">slot</a> with <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#slot-assigned-nodes\">assigned nodes</a>, set the <code>rendered child nodes</code> to be the <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#slot-assigned-nodes\">assigned nodes</a> of the\n <code>current node</code>."
"html": "Otherwise, if the <code>current node</code> is a <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-slot\">slot</a> with <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#slot-assigned-nodes\">assigned nodes</a>, set the <code>rendered child nodes</code> to be the <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#slot-assigned-nodes\">assigned nodes</a> of the\n <code>current node</code>."
},
{
"html": "Otherwise, set the <code>rendered child nodes</code> to be the child nodes of the <code>current node</code>."
Expand Down Expand Up @@ -145,7 +145,7 @@
]
},
{
"html": "<span id=\"step2G\"></span><em>Text Node:</em> Otherwise, if the <code>current node</code> is a Text <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-node\">Node</a>, return its textual\n contents."
"html": "<span id=\"step2G\"></span><em>Text Node:</em> Otherwise, if the <code>current node</code> is a Text <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-node\">Node</a>, return its textual\n contents."
},
{
"html": "<span id=\"step2H\"></span><em>Recursive Name From Content:</em> Otherwise, if the <code>current node</code> is a descendant of an\n element whose or is being computed, and contains descendants, proceed to\n <a href=\"https://www.w3.org/TR/accname-1.2/#comp_name_from_content_reset\">Name From Content Reset</a>."
Expand All @@ -159,7 +159,7 @@
]
},
{
"html": "After all steps are completed, the <code>total accumulated text</code> is used as the or of the\n <a data-link-type=\"dfn|abstract-op\" data-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-element\">element</a> that initiated the computation."
"html": "After all steps are completed, the <code>total accumulated text</code> is used as the or of the\n <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-element\">element</a> that initiated the computation."
}
]
}
Expand Down
Loading

0 comments on commit 381a537

Please sign in to comment.