Accessibility for Slider

This commit is contained in:
Tuğçe Küçükoğlu 2022-06-27 16:20:17 +03:00
parent a0e4b8d886
commit 5b62a009cd
4 changed files with 124 additions and 29 deletions

View file

@ -41,11 +41,23 @@ const SliderProps = [
default: "false",
description: "When present, it specifies that the component should be disabled."
},
{
name: "tabindex",
type: "number",
default: "null",
description: "Index of the element in tabbing order."
},
{
name: "ariaLabelledBy",
type: "string",
default: "null",
description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
name: "ariaLabel",
type: "string",
default: "null",
description: "Used to define a string that labels the element."
}
];