We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 769781d commit adad32eCopy full SHA for adad32e
src/Panel.js
@@ -15,7 +15,9 @@ const Panel = React.createClass({
15
footer: React.PropTypes.node,
16
defaultExpanded: React.PropTypes.bool,
17
expanded: React.PropTypes.bool,
18
- eventKey: React.PropTypes.any
+ eventKey: React.PropTypes.any,
19
+ headerRole: React.PropTypes.string,
20
+ panelRole: React.PropTypes.string
21
},
22
23
getDefaultProps() {
@@ -203,7 +205,7 @@ const Panel = React.createClass({
203
205
204
206
renderCollapsibleTitle(header, headerRole) {
207
return (
- <h4 className={this.prefixClass('title')}>
208
+ <h4 className={this.prefixClass('title')} role="presentation">
209
{this.renderAnchor(header, headerRole)}
210
</h4>
211
);
0 commit comments