From 6e4452c957ebff9472693fc5e4b37d0df0b4ac2e Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Wed, 11 Dec 2024 16:27:20 -0500 Subject: [PATCH] updating option naming steps wording keeping in alignment with wording updates in #2395 --- html-aam/index.html | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/html-aam/index.html b/html-aam/index.html index 7722f2de2..e5b262baf 100644 --- a/html-aam/index.html +++ b/html-aam/index.html @@ -16219,16 +16219,22 @@

`fieldset` Element Accessible Name Computation

`option` Element Accessible Name Computation

  1. - If the `option` element has an `aria-label` or an `aria-labelledby` attribute the + If the `option` element has an `aria-label` + or an `aria-labelledby` attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings.
  2. - If the accessible name is still empty, then: use the value of the `option` element's `label` attribute. + If the accessible name is still empty: use the value of the `option` element's `label` attribute.
  3. -
  4. Otherwise if no `label` attribute is specified use the `option` element subtree.
  5. -
  6. Otherwise use `title` attribute.
  7. -
  8. If none of the above yield a usable text string there is no accessible name.
  9. +
  10. + If no `label` attribute is specified, or its value is the empty string: use the text equivalent computation of the `option` element's subtree. +
  11. +
  12. + Otherwise: + use the value of the element's `title` attribute. +
  13. +
  14. If none of the above yield a usable text string there is no accessible name.
  15. An `option` element's `label` attribute will override the rendering of an `option` element's author defined descendents. Instead, the