Accessibility for Knob

This commit is contained in:
Tuğçe Küçükoğlu 2022-07-22 11:31:56 +03:00
parent af9fe6fbaa
commit f8725ae262
5 changed files with 197 additions and 5 deletions

View file

@ -76,6 +76,24 @@ const KnobProps = [
type: "string",
default: "{value}",
description: "Template string of the value."
},
{
name: "tabindex",
type: "number",
default: "null",
description: "Index of the element in tabbing order."
},
{
name: "aria-labelledby",
type: "string",
default: "null",
description: "Establishes relationships between the component and label(s) where its value should be one or more element IDs."
},
{
name: "aria-label",
type: "string",
default: "null",
description: "Used to define a string that labels the element."
}
];