From 95f616fb992954b54829899d9c48b4f374411f67 Mon Sep 17 00:00:00 2001 From: James Craig Date: Fri, 2 Feb 2024 23:28:42 -0800 Subject: [PATCH] Closes https://github.com/w3c/accname/issues/182 --- accname/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/accname/index.html b/accname/index.html index d5ad663f5..72a869dd0 100644 --- a/accname/index.html +++ b/accname/index.html @@ -487,6 +487,7 @@

Computation steps

For example, in HTML, the img element's alt attribute defines a text alternative string, and the label element provides text for the referenced form element. In SVG2, the desc and title elements provide a description of their parent element.

+
  • Name From Heading: Otherwise, if the current node has a role that supports nameFrom: heading, return the text alternative of the first descendant element node matching the role of heading in an iterative deepening depth-first search.
  • Name From Content: Otherwise, if the current node's role allows name from content, or if the current node is referenced by aria-labelledby, aria-describedby, or is a native host language text alternative [=element=] (e.g. label in HTML), or is a descendant of a native host language text alternative [=element=]:
    1. Name From Content Reset: Set the accumulated text to the empty string.