Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jym77 committed Dec 4, 2024
1 parent 97c4759 commit 845136c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/alfa-aria/src/feature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")),
Expand Down

0 comments on commit 845136c

Please sign in to comment.