From b139b7487da0337a3473cb802eb301e8410e3222 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 --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index d5ad663..72a869d 100644 --- a/index.html +++ b/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.