From 6ab7258f7ff55d2a966a1840b2f22fcf93afb351 Mon Sep 17 00:00:00 2001 From: Melanie Sumner Date: Wed, 31 Jul 2024 15:38:19 -0500 Subject: [PATCH 1/2] Update index.html If merged, this PR updates step 2C to be the agreed upon text per this issue: https://github.com/w3c/accname/issues/244 --- accname/index.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/accname/index.html b/accname/index.html index fc0ba0f5d..1d5d5ebd7 100644 --- a/accname/index.html +++ b/accname/index.html @@ -554,9 +554,7 @@

Computation steps

  • - Embedded Control: Otherwise, if the current node is a control embedded within the label - (e.g. any element directly referenced by aria-labelledby) for another widget, where the user can adjust the embedded control's value, then return - the embedded control as part of the text alternative in the following manner: + Embedded Control: Otherwise, if the current node is a user-adjustable control embedded within the label, and the control is not the element being named or described, then return the embedded control's value as part of the text alternative in the following manner:
    1. Textbox: If the embedded control has role textbox, return its value.
    2. From 03a72ef21453ee62413059c44cf2e1880d0bda73 Mon Sep 17 00:00:00 2001 From: MelSumner Date: Wed, 31 Jul 2024 20:39:50 +0000 Subject: [PATCH 2/2] chore: prettier --- accname/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/accname/index.html b/accname/index.html index 1d5d5ebd7..7f08ddfcd 100644 --- a/accname/index.html +++ b/accname/index.html @@ -554,7 +554,8 @@

      Computation steps

    3. - Embedded Control: Otherwise, if the current node is a user-adjustable control embedded within the label, and the control is not the element being named or described, then return the embedded control's value as part of the text alternative in the following manner: + Embedded Control: Otherwise, if the current node is a user-adjustable control embedded + within the label, and the control is not the element being named or described, then return the embedded control's value as part of the text alternative in the following manner:
      1. Textbox: If the embedded control has role textbox, return its value.