From b2f3aaab6405f730163fe201969de97ec51d0b23 Mon Sep 17 00:00:00 2001 From: Anthony Shew Date: Mon, 16 Sep 2024 03:54:31 -0600 Subject: [PATCH] fix: re-implement #3856 to improve correctness (#3865) --- crates/biome_aria/src/roles.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/biome_aria/src/roles.rs b/crates/biome_aria/src/roles.rs index d80f54d9395b..7350f963dda1 100644 --- a/crates/biome_aria/src/roles.rs +++ b/crates/biome_aria/src/roles.rs @@ -152,7 +152,11 @@ define_role! { define_role! { /// https://www.w3.org/TR/wai-aria-1.1/#separator SeparatorRole { - PROPS: [], + PROPS: [ + ("aria-valuemax", false), + ("aria-valuemin", false), + ("aria-valuenow", false), + ], ROLES: ["structure", "widget"], CONCEPTS: &[("hr", &[])], }