From 845136c562405bf1be5524a50d5671725296062e Mon Sep 17 00:00:00 2001 From: Jean-Yves Moyen Date: Wed, 4 Dec 2024 17:11:01 +0100 Subject: [PATCH] Improve documentation --- packages/alfa-aria/src/feature.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/alfa-aria/src/feature.ts b/packages/alfa-aria/src/feature.ts index 1ba11a404f..c45c2f78f9 100644 --- a/packages/alfa-aria/src/feature.ts +++ b/packages/alfa-aria/src/feature.ts @@ -674,6 +674,7 @@ const Features: Features = { ), summary: html((element) => + // the type is ensured by the name. (element as Element<"summary">).isSummaryForItsParentDetails() ? None : Option.of(Role.of("generic")),