Skip to content

Commit

Permalink
fix header aria-labelledby
Browse files Browse the repository at this point in the history
fix for issue primefaces#1405
  • Loading branch information
arnauddem authored Aug 27, 2020
1 parent 6f7624c commit b8cef08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dialog/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ export class Dialog extends Component {
<CSSTransition classNames="p-dialog" timeout={transitionTimeout} in={this.props.visible} unmountOnExit
onEntered={this.onEntered} onExit={this.onExit} onExited={this.onExited}>
<div ref={el => this.dialog = el} id={this.id} className={className} style={this.props.style} onClick={this.onDialogClick}
aria-labelledby={this.id + '_label'} role="dialog" aria-modal={this.props.model}>
aria-labelledby={this.id + '_header'} role="dialog" aria-modal={this.props.model}>
{header}
{content}
{footer}
Expand Down

0 comments on commit b8cef08

Please sign in to comment.