Skip to content

Commit b60be7c

Browse files
Adds "aria-disabled" attribute (#230)
1 parent 9445681 commit b60be7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Panel.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ class CollapsePanel extends React.Component<CollapsePanelProps, any> {
105105
const headerProps: React.HTMLAttributes<HTMLDivElement> = {
106106
className: headerCls,
107107
'aria-expanded': isActive,
108+
'aria-disabled': disabled,
108109
onKeyPress: this.handleKeyPress,
109110
};
110111

0 commit comments

Comments
 (0)