From 17750f74521fb42847668b0b3dfd76a08fecd345 Mon Sep 17 00:00:00 2001
From: James Craig Computation steps
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 depth-first search.
+ current node's role allows
name from content, or if the current node is referenced by aria-labelledby, aria-describedby, or
diff --git a/index.html b/index.html
index 0d588ae06..bc29e6a9f 100644
--- a/index.html
+++ b/index.html
@@ -1265,15 +1265,27 @@ heading as defined in the AccName
+ computation algorithm for nameFrom: heading. Although "namefrom: heading" is allowed in addition to "namefrom: author" in some roles, "namefrom: heading" is used in content only
+ if higher priority "namefrom: author" features are not provided. Priority is defined by the Accessible Name and Description Computation
+ [[ACCNAME-1.2]].
Authors SHOULD provide an accessible name for a dialog, which can be done with the
Authors SHOULD provide an accessible name for a dialog, using either namefrom: author or namefrom: heading.
Authors SHOULD ensure that all dialogs (both modal and non-modal) have at least one focusable descendant element. Authors SHOULD focus an element in the modal dialog when it is displayed, and authors SHOULD constrain keyboard focus to focusable elements within a modal dialog, until dismissed. @@ -3721,7 +3743,12 @@
form role.
- Authors SHOULD give each element with role form a brief label that describes the purpose of the form. Authors SHOULD reference a visible label with
- form a label that describes the purpose of the form, using either namefrom: author or
+ namefrom: heading.
If an author uses a script to submit a form based on a user action that would otherwise not trigger an onsubmit event (for example, a form submission triggered by the user
@@ -4320,7 +4346,12 @@
- Authors MUST give each element with role region a brief label that describes the purpose of the content in the region. Authors SHOULD reference a visible label with
-
Assistive technologies SHOULD enable users to quickly navigate to elements with role region. [=User agents=] SHOULD treat elements with role region and
@@ -8046,7 +8075,12 @@
form role.
- Authors SHOULD give each element with role form a label that describes the purpose of the form, using either namefrom: author or
- namefrom: heading.
+ Authors SHOULD give each element with role form a brief label that describes the purpose of the form. Authors SHOULD reference a visible label with
+
If an author uses a script to submit a form based on a user action that would otherwise not trigger an onsubmit event (for example, a form submission triggered by the user
@@ -4346,12 +4347,7 @@
- Authors MUST give each element with role region a label that describes the purpose of the content in the region, using either namefrom: author or namefrom: heading.
+ Authors MUST give each element with role region a brief label that describes the purpose of the content in the region. Authors SHOULD reference a visible label with
+
Assistive technologies SHOULD enable users to quickly navigate to elements with role region. [=User agents=] SHOULD treat elements with role region and
@@ -8075,12 +8073,7 @@
heading as defined in the AccName
+ heading: name comes from the text alternative of the first descendant element node (depth-first search) matching the role of heading as defined in the AccName
computation algorithm for nameFrom: heading. Although "namefrom: heading" is allowed in addition to "namefrom: author" in some roles, "namefrom: heading" is used in content only
if higher priority "namefrom: author" features are not provided. Priority is defined by the Accessible Name and Description Computation
[[ACCNAME-1.2]].
From 47ef93422b7d5ff9885cc5b142b9983d3651635d Mon Sep 17 00:00:00 2001
From: James Craig 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 depth-first search.
+ return the text alternative of the first descendant element node matching the role of heading in a depth-first search.
current node's role allows
From 0fcaeec9cff4073256dd42e5376df9571217b221 Mon Sep 17 00:00:00 2001
From: Scott O'Hara