From 0efae20da978915acc747ae5aef63a2e9deb4d45 Mon Sep 17 00:00:00 2001
From: Scott O'Hara Exposing HTML Features That Do Not Directly Map to Accessibility APIs
API properties in the [[core-aam-1.2]].
+ An element with a contextual role is one whose implicit WAI-ARIA role semantics are based on its anestral accessibility tree relationship to another element or elements. Or, an element whose computed role is reliant on whether the element has been provided an accessible name. +
++ For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role that was + appropriate for this context. Where the same element might be used in another context with a different accessibility parent, and would therefore expose a computed role + appropriate for that context. +
++ When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable. +
+Previously, the concept of a contextual role was loosely referred to as an element's "scoped" relationship to another element.
+
+ A li
element has an implicit WAI-ARIA role mapping of listitem
only when the element is an accessibility child of a
+ menu
, ol
or ul
element that has not had its `list` role mapping suppressed.
+
<ul>
+ <li>...</li> <!-- role=listitem -->
+ </ul>
+ <article>
+ ...
+ <li>...</li> <!-- not role=listitem -->
+ ...
+
+ An aside
element has an implicit WAI-ARIA role mapping of complementary
only when the element is an accessibility child of
+ the body
or main
elements, or if the aside
has been provided an accessible name.
+
<body>
+ ...
+ <main>
+ ...
+ <article>
+ <aside>...</aside> <!-- not role=complementary -->
+ ...
+ <aside aria-label=named>...</aside> <!-- role=complementary -->
+ </article>
+ ...
+ <aside>...</aside> <!-- role=complementary -->
+ </main>
+ <aside>...</aside> <!-- role=complementary -->
+ ...
+ <footer>
+ ...
+ <aside>...</aside> <!-- not role=complementary -->
+ </footer>
+ A section
element has an implicit WAI-ARIA role mapping of region
only when the element is provided an accessible name.
<section title="accessible name">...</section> <!-- role=region -->
+ ...
+ <section aria-label="accessible name">...</section> <!-- role=region -->
+ ...
+ <section>...</section> <!-- not role=region -->
+ - An element with a contextual role is one whose implicit WAI-ARIA role semantics are based on its anestral accessibility tree relationship to another element or elements. Or, an element whose computed role is reliant on whether the element has been provided an accessible name. + An element with a contextual role is one whose implicit WAI-ARIA role semantics are based on its anestral accessibility tree relationship to + another element or elements. Or, an element whose computed role is reliant on whether the element has been provided an accessible name.
For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role that was - appropriate for this context. Where the same element might be used in another context with a different accessibility parent, and would therefore expose a computed role - appropriate for that context. + appropriate for its related context. Where the same element with a contextual role might be used within another markup pattern and have a different accessibility parent, + and would therefore expose a computed role appropriate for that context.
When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable. @@ -228,7 +229,7 @@
- A li
element has an implicit WAI-ARIA role mapping of listitem
only when the element is an accessibility child of a
+ A li
element has an implicit WAI-ARIA role mapping of listitem
only when the element is an accessibility child of a
menu
, ol
or ul
element that has not had its `list` role mapping suppressed.
<ul>
From 1eac62710ce01df834f9a9131699f7246babc517 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Thu, 11 May 2023 12:57:04 -0400
Subject: [PATCH 03/15] Update index.html
---
html-aam/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index 8df6e9386..f00a0634a 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -213,7 +213,7 @@ Exposing HTML Features That Do Not Directly Map to Accessibility APIs
Exposing HTML Features With Contextual Roles
- An element with a contextual role is one whose implicit WAI-ARIA role semantics are based on its anestral accessibility tree relationship to
+ An element with a contextual role is one whose implicit WAI-ARIA role semantics are based on its ancestral accessibility tree relationship to
another element or elements. Or, an element whose computed role is reliant on whether the element has been provided an accessible name.
From 57e27f4ad6a83f64a7e0b120222b9f0175ac80a4 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Thu, 11 May 2023 12:57:09 -0400
Subject: [PATCH 04/15] Update index.html
---
html-aam/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index f00a0634a..81e6e8fcb 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -222,7 +222,7 @@ Exposing HTML Features With Contextual Roles
and would therefore expose a computed role appropriate for that context.
- When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable.
+ When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable.
Previously, the concept of a contextual role was loosely referred to as an element's "scoped" relationship to another element.
From 310dd875a446184331e0b65ca8258149b12e24a4 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Thu, 11 May 2023 12:57:14 -0400
Subject: [PATCH 05/15] Update index.html
---
html-aam/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index 81e6e8fcb..f7f418f9e 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -242,7 +242,7 @@ Exposing HTML Features With Contextual Roles
- An aside
element has an implicit WAI-ARIA role mapping of complementary
only when the element is an accessibility child of
+ An aside
element has an implicit WAI-ARIA role mapping of complementary
only when the element is an accessibility child of
the body
or main
elements, or if the aside
has been provided an accessible name.
<body>
From cc4bb80b1ad4113ec6f792959b563d87973e2771 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Thu, 11 May 2023 12:57:20 -0400
Subject: [PATCH 06/15] Update index.html
---
html-aam/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index f7f418f9e..d2552e2c0 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -266,7 +266,7 @@ Exposing HTML Features With Contextual Roles
- A section
element has an implicit WAI-ARIA role mapping of region
only when the element is provided an accessible name.
+ A section
element has an implicit WAI-ARIA role mapping of region
only when the element is provided an accessible name.
<section title="accessible name">...</section> <!-- role=region -->
...
From 33e5dfa68d71d9bc782fd91c2c4293900ee799a7 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Thu, 18 May 2023 08:09:32 -0400
Subject: [PATCH 07/15] Apply suggestions from code review
Co-authored-by: James Craig
---
html-aam/index.html | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index d2552e2c0..f44725d02 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -233,11 +233,11 @@ Exposing HTML Features With Contextual Roles
menu
, ol
or ul
element that has not had its `list` role mapping suppressed.
<ul>
- <li>...</li> <!-- role=listitem -->
+ <li>...</li> <!-- computed role `listitem` -->
</ul>
<article>
...
- <li>...</li> <!-- not role=listitem -->
+ <li>...</li> <!-- computed role `generic`, not `listitem` -->
...
@@ -250,29 +250,29 @@ Exposing HTML Features With Contextual Roles
<main>
...
<article>
- <aside>...</aside> <!-- not role=complementary -->
+ <aside>...</aside> <!-- computed role `generic`, not `complementary` -->
...
- <aside aria-label=named>...</aside> <!-- role=complementary -->
+ <aside aria-label=named>...</aside> <!-- computed role `complementary` -->
</article>
...
- <aside>...</aside> <!-- role=complementary -->
+ <aside>...</aside> <!-- computed role `complementary` -->
</main>
- <aside>...</aside> <!-- role=complementary -->
+ <aside>...</aside> <!-- computed role `complementary` -->
...
<footer>
...
- <aside>...</aside> <!-- not role=complementary -->
+ <aside>...</aside> <!-- computed role `generic`, not `complementary` -->
</footer>
A section
element has an implicit WAI-ARIA role mapping of region
only when the element is provided an accessible name.
- <section title="accessible name">...</section> <!-- role=region -->
+ <section title="accessible name">...</section> <!-- computed role `region` -->
...
- <section aria-label="accessible name">...</section> <!-- role=region -->
+ <section aria-label="accessible name">...</section> <!-- computed role `region` -->
...
- <section>...</section> <!-- not role=region -->
+ <section>...</section> <!-- computed role `generic`, not `region` -->
From 1ebbfc56aecc599fe9c2d26bc3e7775a1dd8f524 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Fri, 19 May 2023 09:56:20 -0400
Subject: [PATCH 08/15] Update index.html
Co-authored-by: James Craig
---
html-aam/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index f44725d02..9e11dd113 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -214,7 +214,7 @@ Exposing HTML Features That Do Not Directly Map to Accessibility APIs
Exposing HTML Features With Contextual Roles
An element with a contextual role is one whose implicit WAI-ARIA role semantics are based on its ancestral accessibility tree relationship to
- another element or elements. Or, an element whose computed role is reliant on whether the element has been provided an accessible name.
+ another element or elements. Or, an element whose computed role is dependent upon whether it has other associated accessibility information, such as an author-provided accessible label.
For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role that was
From da0865dd6e2d6e0611db2f5d578710b7cd70fd91 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Fri, 19 May 2023 09:57:09 -0400
Subject: [PATCH 09/15] word change
---
html-aam/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index 9e11dd113..1bbc50566 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -214,7 +214,7 @@ Exposing HTML Features That Do Not Directly Map to Accessibility APIs
Exposing HTML Features With Contextual Roles
An element with a contextual role is one whose implicit WAI-ARIA role semantics are based on its ancestral accessibility tree relationship to
- another element or elements. Or, an element whose computed role is dependent upon whether it has other associated accessibility information, such as an author-provided accessible label.
+ another element or elements. Or, an element whose computed role is dependent upon whether it has other associated accessibility information, such as an author-provided accessible name.
For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role that was
From b1c7a8cce8ff1ec08f36306b338b54cf3fa0d611 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Fri, 19 May 2023 10:10:26 -0400
Subject: [PATCH 10/15] consistent wording
use computed role in both sentences, rather than switching between terms
---
html-aam/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index 1bbc50566..4add3aea7 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -213,7 +213,7 @@ Exposing HTML Features That Do Not Directly Map to Accessibility APIs
Exposing HTML Features With Contextual Roles
- An element with a contextual role is one whose implicit WAI-ARIA role semantics are based on its ancestral accessibility tree relationship to
+ An element with a contextual role is one whose computed role semantics are based on its ancestral accessibility tree relationship to
another element or elements. Or, an element whose computed role is dependent upon whether it has other associated accessibility information, such as an author-provided accessible name.
From 75b9bdd763ea350875c0953a6c0b92a6f7f6a859 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Fri, 19 May 2023 10:12:14 -0400
Subject: [PATCH 11/15] Update index.html
Co-authored-by: James Craig
---
html-aam/index.html | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index 4add3aea7..e4a7a9ef0 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -217,9 +217,7 @@ Exposing HTML Features With Contextual Roles
another element or elements. Or, an element whose computed role is dependent upon whether it has other associated accessibility information, such as an author-provided accessible name.
- For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role that was
- appropriate for its related context. Where the same element with a contextual role might be used within another markup pattern and have a different accessibility parent,
- and would therefore expose a computed role appropriate for that context.
+ For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role for its given context, such as a list item (li
) within an unordered list (ul
). However, the same element might be used within a different markup pattern and could therefore expose different contextually-dependent computed roles, such as a labeled section
element (role region
) versus an unlabeled section
element (role generic
).
When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable.
From 4f5427495f4ac4851af39f65ce874cdc5e8b1489 Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Fri, 19 May 2023 10:21:38 -0400
Subject: [PATCH 12/15] fix formatting
---
html-aam/index.html | 62 +++++++++++++++++++++++----------------------
1 file changed, 32 insertions(+), 30 deletions(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index e4a7a9ef0..a456b8fe5 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -217,7 +217,9 @@ Exposing HTML Features With Contextual Roles
another element or elements. Or, an element whose computed role is dependent upon whether it has other associated accessibility information, such as an author-provided accessible name.
- For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role for its given context, such as a list item (li
) within an unordered list (ul
). However, the same element might be used within a different markup pattern and could therefore expose different contextually-dependent computed roles, such as a labeled section
element (role region
) versus an unlabeled section
element (role generic
).
+ For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role for its given context,
+ such as a list item (`li` element) within an unordered list (`ul` element). However, the same element might be used within a different markup pattern and could therefore expose
+ different contextually-dependent computed roles, such as a `section` element with an author-provided accessible name (role `region`) versus an unnamed `section` element (role `generic`).
When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable.
@@ -231,12 +233,12 @@
Exposing HTML Features With Contextual Roles
menu
, ol
or ul
element that has not had its `list` role mapping suppressed.
<ul>
- <li>...</li> <!-- computed role `listitem` -->
- </ul>
- <article>
- ...
- <li>...</li> <!-- computed role `generic`, not `listitem` -->
- ...
+ <li>...</li> <!-- computed role `listitem` -->
+ </ul>
+ <article>
+ ...
+ <li>...</li> <!-- computed role `generic`, not `listitem` -->
+ ...
@@ -244,33 +246,33 @@
body
or main
elements, or if the aside
has been provided an accessible name.
<body>
- ...
- <main>
- ...
- <article>
- <aside>...</aside> <!-- computed role `generic`, not `complementary` -->
- ...
- <aside aria-label=named>...</aside> <!-- computed role `complementary` -->
- </article>
- ...
- <aside>...</aside> <!-- computed role `complementary` -->
- </main>
- <aside>...</aside> <!-- computed role `complementary` -->
- ...
- <footer>
- ...
- <aside>...</aside> <!-- computed role `generic`, not `complementary` -->
- </footer>
+ ...
+ <main>
+ ...
+ <article>
+ <aside>...</aside> <!-- computed role `generic`, not `complementary` -->
+ ...
+ <aside aria-label=named>...</aside> <!-- computed role `complementary` -->
+ </article>
+ ...
+ <aside>...</aside> <!-- computed role `complementary` -->
+ </main>
+ <aside>...</aside> <!-- computed role `complementary` -->
+ ...
+ <footer>
+ ...
+ <aside>...</aside> <!-- computed role `generic`, not `complementary` -->
+ </footer>
+...
A section
element has an implicit WAI-ARIA role mapping of region
only when the element is provided an accessible name.
<section title="accessible name">...</section> <!-- computed role `region` -->
- ...
- <section aria-label="accessible name">...</section> <!-- computed role `region` -->
- ...
- <section>...</section> <!-- computed role `generic`, not `region` -->
+ <section title="accessible name">...</section> <!-- computed role `region` -->
+...
+<section aria-label="accessible name">...</section> <!-- computed role `region` -->
+...
+<section>...</section> <!-- computed role `generic`, not `region` -->
- An element with a contextual role is one whose computed role semantics are based on its ancestral accessibility tree relationship to - another element or elements. Or, an element whose computed role is dependent upon whether it has other associated accessibility information, such as an author-provided accessible name. + An element with a contextual role is one whose computed role semantics are based on its ancestral accessibility tree relationship to another element or elements. Or, an + element whose computed role is dependent upon whether it has other associated accessibility information, such as an author-provided accessible name.
- For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role for its given context, - such as a list item (`li` element) within an unordered list (`ul` element). However, the same element might be used within a different markup pattern and could therefore expose - different contextually-dependent computed roles, such as a `section` element with an author-provided accessible name (role `region`) versus an unnamed `section` element (role `generic`). -
-- When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable. + For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role for its given context, such as a + list item (`li` element) within an unordered list (`ul` element). However, the same element might be used within a different markup pattern and could therefore expose different + contextually-dependent computed roles, such as a `section` element with an author-provided accessible name (role `region`) versus an unnamed `section` element (role `generic`).
+When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable.
Previously, the concept of a contextual role was loosely referred to as an element's "scoped" relationship to another element.
- A li
element has an implicit WAI-ARIA role mapping of listitem
only when the element is an accessibility child of a
- menu
, ol
or ul
element that has not had its `list` role mapping suppressed.
+ A li
element has an implicit WAI-ARIA role mapping of listitem
only when the element is an accessibility child of a menu
,
+ ol
or ul
element that has not had its `list` role mapping suppressed.
<ul>
<li>...</li> <!-- computed role `listitem` -->
@@ -193,8 +191,8 @@ Exposing HTML Features With Contextual Roles
- An aside
element has an implicit WAI-ARIA role mapping of complementary
only when the element is an accessibility child of
- the body
or main
elements, or if the aside
has been provided an accessible name.
+ An aside
element has an implicit WAI-ARIA role mapping of complementary
only when the element is an accessibility child of the body
or
+ main
elements, or if the aside
has been provided an accessible name.
<body>
...
@@ -218,7 +216,7 @@ Exposing HTML Features With Contextual Roles
A section
element has an implicit WAI-ARIA role mapping of region
only when the element is provided an accessible name.
A section
element has an implicit WAI-ARIA role mapping of region
only when the element is provided an accessible name.
<section title="accessible name">...</section> <!-- computed role `region` -->
...
<section aria-label="accessible name">...</section> <!-- computed role `region` -->
From 5ab29b0f44624de1fa6be1ef2ba04057de63c7db Mon Sep 17 00:00:00 2001
From: Peter Krautzberger
Date: Fri, 24 May 2024 15:27:14 +0200
Subject: [PATCH 14/15] move contextual role section This position seems to
match the original diff
---
html-aam/index.html | 126 ++++++++++++++++++++++----------------------
1 file changed, 63 insertions(+), 63 deletions(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index 911470b43..3dd850775 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -161,69 +161,6 @@ Deprecated
There are currently no deprecated requirements.
-
- Exposing HTML Features With Contextual Roles
-
- An element with a contextual role is one whose computed role semantics are based on its ancestral accessibility tree relationship to another element or elements. Or, an
- element whose computed role is dependent upon whether it has other associated accessibility information, such as an author-provided accessible name.
-
-
- For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role for its given context, such as a
- list item (`li` element) within an unordered list (`ul` element). However, the same element might be used within a different markup pattern and could therefore expose different
- contextually-dependent computed roles, such as a `section` element with an author-provided accessible name (role `region`) versus an unnamed `section` element (role `generic`).
-
- When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable.
-
- Previously, the concept of a contextual role was loosely referred to as an element's "scoped" relationship to another element.
-
-
-
- A li
element has an implicit WAI-ARIA role mapping of listitem
only when the element is an accessibility child of a menu
,
- ol
or ul
element that has not had its `list` role mapping suppressed.
-
- <ul>
- <li>...</li> <!-- computed role `listitem` -->
- </ul>
- <article>
- ...
- <li>...</li> <!-- computed role `generic`, not `listitem` -->
- ...
-
-
-
- An aside
element has an implicit WAI-ARIA role mapping of complementary
only when the element is an accessibility child of the body
or
- main
elements, or if the aside
has been provided an accessible name.
-
- <body>
- ...
- <main>
- ...
- <article>
- <aside>...</aside> <!-- computed role `generic`, not `complementary` -->
- ...
- <aside aria-label=named>...</aside> <!-- computed role `complementary` -->
- </article>
- ...
- <aside>...</aside> <!-- computed role `complementary` -->
- </main>
- <aside>...</aside> <!-- computed role `complementary` -->
- ...
- <footer>
- ...
- <aside>...</aside> <!-- computed role `generic`, not `complementary` -->
- </footer>
-...
-
-
-
- A section
element has an implicit WAI-ARIA role mapping of region
only when the element is provided an accessible name.
- <section title="accessible name">...</section> <!-- computed role `region` -->
-...
-<section aria-label="accessible name">...</section> <!-- computed role `region` -->
-...
-<section>...</section> <!-- computed role `generic`, not `region` -->
-
-
Mapping HTML to Accessibility APIs
@@ -254,6 +191,69 @@ Exposing HTML Features That Do Not Directly Map to Accessibility APIs
the [[core-aam-1.2]].
+
+ Exposing HTML Features With Contextual Roles
+
+ An element with a contextual role is one whose computed role semantics are based on its ancestral accessibility tree relationship to another element or elements. Or,
+ an element whose computed role is dependent upon whether it has other associated accessibility information, such as an author-provided accessible name.
+
+
+ For instance, an element that is an accessibility child of its required accessibility parent would expose a computed role for its given context, such as a
+ list item (`li` element) within an unordered list (`ul` element). However, the same element might be used within a different markup pattern and could therefore expose different
+ contextually-dependent computed roles, such as a `section` element with an author-provided accessible name (role `region`) versus an unnamed `section` element (role `generic`).
+
+ When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable.
+
+ Previously, the concept of a contextual role was loosely referred to as an element's "scoped" relationship to another element.
+
+
+
+ A li
element has an implicit WAI-ARIA role mapping of listitem
only when the element is an accessibility child of a menu
,
+ ol
or ul
element that has not had its `list` role mapping suppressed.
+
+ <ul>
+ <li>...</li> <!-- computed role `listitem` -->
+ </ul>
+ <article>
+ ...
+ <li>...</li> <!-- computed role `generic`, not `listitem` -->
+ ...
+
+
+
+ An aside
element has an implicit WAI-ARIA role mapping of complementary
only when the element is an accessibility child of the
+ body
or main
elements, or if the aside
has been provided an accessible name.
+
+ <body>
+ ...
+ <main>
+ ...
+ <article>
+ <aside>...</aside> <!-- computed role `generic`, not `complementary` -->
+ ...
+ <aside aria-label=named>...</aside> <!-- computed role `complementary` -->
+ </article>
+ ...
+ <aside>...</aside> <!-- computed role `complementary` -->
+ </main>
+ <aside>...</aside> <!-- computed role `complementary` -->
+ ...
+ <footer>
+ ...
+ <aside>...</aside> <!-- computed role `generic`, not `complementary` -->
+ </footer>
+ ...
+
+
+
+ A section
element has an implicit WAI-ARIA role mapping of region
only when the element is provided an accessible name.
+ <section title="accessible name">...</section> <!-- computed role `region` -->
+ ...
+ <section aria-label="accessible name">...</section> <!-- computed role `region` -->
+ ...
+ <section>...</section> <!-- computed role `generic`, not `region` -->
+
+
HTML Element Role Mappings
From b4d9fac8a0026ddd0d28f699b4eaa2c1635231ab Mon Sep 17 00:00:00 2001
From: Scott O'Hara
Date: Wed, 11 Dec 2024 16:44:58 -0500
Subject: [PATCH 15/15] Update html-aam/index.html
Co-authored-by: Valerie Young
---
html-aam/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html-aam/index.html b/html-aam/index.html
index 3dd850775..62410db13 100644
--- a/html-aam/index.html
+++ b/html-aam/index.html
@@ -202,7 +202,7 @@ Exposing HTML Features With Contextual Roles
list item (`li` element) within an unordered list (`ul` element). However, the same element might be used within a different markup pattern and could therefore expose different
contextually-dependent computed roles, such as a `section` element with an author-provided accessible name (role `region`) versus an unnamed `section` element (role `generic`).
- When the conditions for an element's contextual role are not met, it will commonly expose a computed role of `generic` or with a minimum role, if applicable.
+ When the conditions for an element's contextual role are not met, it will commonly be exposed with a computed role of `generic` or with a minimum role, if applicable.
Previously, the concept of a contextual role was loosely referred to as an element's "scoped" relationship to another element.