Accessibility: ToggleButton with hidden checkbox

This commit is contained in:
Tuğçe Küçükoğlu 2022-07-29 14:47:57 +03:00
parent cb19b3a4b6
commit c68535196c
5 changed files with 232 additions and 14 deletions

View file

@ -34,6 +34,36 @@ const ToggleButtonProps = [
type: "string",
default: "left",
description: 'Position of the icon, valid values are "left" and "right".'
},
{
name: "tabindex",
type: "number",
default: "null",
description: "Index of the element in tabbing order."
},
{
name: "disabled",
type: "boolean",
default: "false",
description: "When present, it specifies that the element should be disabled."
},
{
name: "inputId",
type: "string",
default: "null",
description: "Identifier of the focus input to match a label defined for the chips."
},
{
name: "inputClass",
type: "string",
default: "null",
description: "Style class of the input field."
},
{
name: "inputStyle",
type: "any",
default: "null",
description: "Inline style of the input field."
}
];